diff options
author | Dirk von Suchodoletz | 2009-07-17 00:49:14 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-07-17 00:49:14 +0200 |
commit | 7afca68de0301e5512db64ee21f587cdd7ea497c (patch) | |
tree | 8fb12fcbf8a61bc8e79c5743d488a3c6a6fcc7b0 /initramfs/distro-specs/ubuntu/functions-default | |
parent | Small add-ons ... (diff) | |
download | core-7afca68de0301e5512db64ee21f587cdd7ea497c.tar.gz core-7afca68de0301e5512db64ee21f587cdd7ea497c.tar.xz core-7afca68de0301e5512db64ee21f587cdd7ea497c.zip |
Mounting swap in Ubuntu and id45,46 ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3013 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-default | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 6aa08e39..ee3a151e 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -80,6 +80,11 @@ config_distro () { -e "/# This next bit can/a\ /sbin/udevadm trigger" \ -e "/# We need the uevent/,/# It's all over/d" \ -e "/# Log things that/,/kill \$UDEV/d" -i /mnt/etc/init.d/udev + + # clean the mountall.sh script as only swap activation needed + sed -e "3i# Script modified during SLX stage3 bootup (config_distro)" \ + -e "/pre_mountall/,/post_mountall/d" \ + -i /mnt/etc/init.d/mountall.sh } # initial (boot time) runlevel scripts @@ -88,8 +93,8 @@ local count=10 # boot.slx is a special runlevel script generated within initialramfs which # should be executed before the normal runlevel scripts. Proper shutdown is # not needed!? -for i in mountkernfs.sh mountdevsubfs.sh keyboard-setup procps bootlogd \ -hwclock.sh sudo console-setup udev boot.slx $D_SPLASHY; do +for i in mountkernfs.sh mountall.sh mountdevsubfs.sh keyboard-setup procps \ +bootlogd hwclock.sh sudo console-setup udev boot.slx $D_SPLASHY; do count=$(($count + 1)) [ $DEBUGLEVEL -ge 2 ] && echo "boot-runlevelscript $i" ln -sf /etc/init.d/$i /mnt/etc/rcS.d/S${count}$i |