From 89da8ac7210f532017b84bfc81bc4f774655accc Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Sat, 3 Sep 2005 18:19:57 +0000 Subject: Removing lib/ completly svn path=/baselayout-vserver/trunk/; revision=15 --- sbin/rc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'sbin') diff --git a/sbin/rc b/sbin/rc index bda2707..d980c9e 100755 --- a/sbin/rc +++ b/sbin/rc @@ -4,8 +4,6 @@ trap ":" INT QUIT TSTP source /sbin/functions.sh -# Only source this when this is a livecd booting ... -[ -f /sbin/livecd-functions.sh ] && source /sbin/livecd-functions.sh umask 022 try() { @@ -231,8 +229,6 @@ then # Read off the kernel commandline to see if there's any special settings # especially check to see if we need to set the CDBOOT environment variable # Note: /proc MUST be mounted - [ -f /sbin/livecd-functions.sh ] && livecd_read_commandline - if [ "$(get_KV)" -ge "$(KV_to_int '2.6.0')" ] ; then if [[ -d /sys ]] ; then ebegin "Mounting sysfs at /sys" @@ -565,15 +561,6 @@ then eend 0 fi - # If booting off CD, we want to update inittab before setting the runlevel - if [ -f "/sbin/livecd-functions.sh" -a -n "${CDBOOT}" ] - then - ebegin "Updating inittab" - livecd_fix_inittab - eend $? - /sbin/telinit q &>/dev/null - fi - # Clear $svcdir from stale entries, but leave the caches around, as it # should help speed things up a bit rm -rf $(ls -d1 "${svcdir}/"* 2>/dev/null | \ -- cgit v1.2.3-65-gdbad