Subversion Repositories livecd

Rev

Rev 231 | Rev 234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 231 Rev 233
Line 165... Line 165...
165
	    mv ${folder} /mini${base}
165
	    mv ${folder} /mini${base}
166
	done
166
	done
167
    fi
167
    fi
168
 
168
 
169
    ### enable auto login
169
    ### enable auto login
-
 
170
    echo "Enable auto login..."
170
    customize/livecd-autologin -u $LOCALUSER on >/dev/null 2>&1
171
    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
171
    echo "livecd-autologin -u $LOCALUSER on >/dev/null 2>&1" >> /etc/rc.d/init.d/runlast
173
    echo "livecd-autologin -u $LOCALUSER on >/dev/null 2>&1"            >> /etc/rc.d/init.d/runlast
172
 
174
 
173
    ### run updatedb
175
    ### run updatedb
174
    echo "Run updatedb..."
176
    echo "Run updatedb..."
175
    . /etc/updatedb.conf 2>/dev/null
177
    . /etc/updatedb.conf 2>/dev/null
176
    rpm -q mlocate >/dev/null
178
    rpm -q mlocate >/dev/null
Line 207... Line 209...
207
	mv /mini/usr/share/i18n/locales/* /usr/share/i18n/locales/
209
	mv /mini/usr/share/i18n/locales/* /usr/share/i18n/locales/
208
	echo "done."
210
	echo "done."
209
    fi
211
    fi
210
 
212
 
211
    ### disable auto login
213
    ### disable auto login
-
 
214
    echo "Disable auto login..."
212
    customize/livecd-autologin -u $LOCALUSER off >/dev/null 2>&1
215
    customize/livecd-autologin -u $LOCALUSER off >/dev/null 2>&1
213
    sed -i "s|^livecd-autologin.*|d" /etc/rc.d/init.d/runlast
216
    sed -i "/.*livecd-autologin.*/d" /etc/rc.d/init.d/runlast
214
 
217
 
215
fi
218
fi
216
 
219
 
217
 
220
 
218
echo "--------------------------------------------"
221
echo "--------------------------------------------"