812 |
|
|
813 |
# remove all user settings |
# remove all user settings |
814 |
[ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME} |
[ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME} |
815 |
|
install -o ${ALX_UNPRIV_USER} -g ${ALX_UNPRIV_GROUP} -d ${ALX_UNPRIV_HOME} |
816 |
|
|
817 |
# remove all ica-sessions |
# remove all ica-sessions |
818 |
find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs --no-run-if-empty rm |
find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs --no-run-if-empty rm |
823 |
|
|
824 |
# restore default networking |
# restore default networking |
825 |
cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0 |
cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0 |
826 |
|
echo "${ALX_DEFAULT_HOSTNAME}" > /etc/hostname |
827 |
|
|
828 |
rc_echo "I am done now, press [Enter] to reboot system ..." |
rc_echo -n "I am done now, press [Enter] to reboot system ..." |
829 |
else |
else |
830 |
rc_echo "Aborted, press [Enter] to reboot system ..." |
rc_echo -n "Aborted, press [Enter] to reboot system ..." |
831 |
fi |
fi |
832 |
read |
read |
833 |
reboot |
reboot |