802 |
rm -rf ${SETTINGSPATH} |
rm -rf ${SETTINGSPATH} |
803 |
rm -f /etc/alxconfig-ng/serial |
rm -f /etc/alxconfig-ng/serial |
804 |
rm -rf /etc/alxconfig-ng/state |
rm -rf /etc/alxconfig-ng/state |
805 |
|
local i |
806 |
|
for i in xserver netcard knoppix mouse |
807 |
|
do |
808 |
|
[[ -f /etc/conf.d/hwsetup/${i} ]] && rm /etc/conf.d/hwsetup/${i} |
809 |
|
done |
810 |
|
|
811 |
# clear all printers & net-shares |
# clear all printers & net-shares |
812 |
:> /etc/printcap |
:> /etc/printcap |
828 |
|
|
829 |
# restore default networking |
# restore default networking |
830 |
cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0 |
cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0 |
831 |
|
echo "${ALX_DEFAULT_HOSTNAME}" > /etc/hostname |
832 |
|
|
833 |
rc_echo "I am done now, press [Enter] to reboot system ..." |
rc_echo -n "I am done now, press [Enter] to reboot system ..." |
834 |
else |
else |
835 |
rc_echo "Aborted, press [Enter] to reboot system ..." |
rc_echo -n "Aborted, press [Enter] to reboot system ..." |
836 |
fi |
fi |
837 |
read |
read |
838 |
reboot |
reboot |