Subversion Repositories livecd

Rev

Rev 234 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 234 Rev 235
Line 164... Line 164...
164
	    mkdir -p /mini/${base}
164
	    mkdir -p /mini/${base}
165
	    mv ${folder} /mini${base}
165
	    mv ${folder} /mini${base}
166
	done
166
	done
167
    fi
167
    fi
168
 
168
 
-
 
169
    ### force default runlevel equal 3, if neither xdm, kdm nor gdm is installed
-
 
170
    which xdm >/dev/null 2>&1 || which kdm >/dev/null 2>&1 || which gdm >/dev/null 2>&1
-
 
171
    if [ "$?" != "0" ]; then
-
 
172
	sed -i "s/id\:.\:initdefault/id\:3\:initdefault/" /etc/inittab
-
 
173
    fi
-
 
174
 
169
    ### enable auto login
175
    ### enable auto login
170
    echo "Enable auto login..."
176
    echo "Enable auto login..."
171
    customize/livecd-autologin -u $LOCALUSER on >/dev/null 2>&1
177
    customize/livecd-autologin -u $LOCALUSER on >/dev/null 2>&1
172
    echo "### enable auto login for user $LOCALUSER (livecd-autologin)" >> /etc/rc.d/init.d/runlast
178
    echo "### enable auto login for user $LOCALUSER (livecd-autologin)" >> /etc/rc.d/init.d/runlast
173
    echo "livecd-autologin -u $LOCALUSER on >/dev/null 2>&1"            >> /etc/rc.d/init.d/runlast
179
    echo "livecd-autologin -u $LOCALUSER on >/dev/null 2>&1"            >> /etc/rc.d/init.d/runlast