diff options
author | James Meyer <jams@linhes.org> | 2010-12-04 23:41:32 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-04 23:42:35 (GMT) |
commit | ed744cddd2e9ead9284ff7188ee08e2ed9724f9c (patch) | |
tree | fd86482d3ebf8695b7e7dde031786ac06141614e /build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch | |
parent | 91dd83c0ce7c0c6011e98b921f3cbf96bebf8544 (diff) | |
download | linhes_dev-ed744cddd2e9ead9284ff7188ee08e2ed9724f9c.zip |
larch8: profile sync. featuring all new splash screens
Diffstat (limited to 'build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch')
-rw-r--r-- | build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch b/build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch new file mode 100644 index 0000000..71babb8 --- /dev/null +++ b/build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/cd-root/larch/delarch @@ -0,0 +1,24 @@ +# This is a script called from the installation script fix-system2. +# Its purpose is to remove custom live-only stuff from a just-installed +# system. + +# $1 is the path to the installed system root directory. + +INSTALL=$1 +if [ -z "${INSTALL}" ] || [ ! -f /etc/rc.conf ]; then + echo "ERROR: delarch installation adjustments failed:" + echo " Please check installation mount point (${INSTALL})" + exit 1 +fi + +rm -f "${INSTALL}/root/Desktop/Install Arch Linux.desktop" +rm -f "${INSTALL}/root/Desktop/Larch Documentation.desktop" + +sed "s|^autologin|#autologin|" -i "${INSTALL}/etc.schlim.conf" + +if [ -f ${INSTALL}/etc/rc.local.orig ]; then + mv ${INSTALL}/etc/rc.local.orig ${INSTALL}/etc/rc.local +fi +if [ -f ${INSTALL}/etc/rc.local.shutdown.orig ]; then + mv ${INSTALL}/etc/rc.local.shutdown.orig ${INSTALL}/etc/rc.local.shutdown +fi |