summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/scilin/functions-5.4
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-02 17:50:49 +0200
committerSebastian Schmelzer2010-09-02 17:50:49 +0200
commit416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 (patch)
tree4715f7d742fec50931017f38fe6ff0a89d4ceccc /initramfs/distro-specs/scilin/functions-5.4
parentFix for the problem reported on the list (sed filter forgotten for the (diff)
downloadcore-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.gz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.xz
core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.zip
change dir structure
Diffstat (limited to 'initramfs/distro-specs/scilin/functions-5.4')
-rw-r--r--initramfs/distro-specs/scilin/functions-5.442
1 files changed, 0 insertions, 42 deletions
diff --git a/initramfs/distro-specs/scilin/functions-5.4 b/initramfs/distro-specs/scilin/functions-5.4
deleted file mode 100644
index 1548ab9a..00000000
--- a/initramfs/distro-specs/scilin/functions-5.4
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright (c) 2009 - RZ Uni Freiburg
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found at http://openslx.org
-#
-# Configuration script for Scientific Linux (5.1) to setup linux stateless
-# clients (executed within initial ramfs)
-
-# initial (boot time) runlevel scripts
-initial_boot () {
-# delete all classical disk base rootfs stuff from rc.sysinit
-sed -e "6i# Script modified by $0 during stage3 bootup." \
- -e "/relabel_se/,/^}/d" \
- -e "/# Start up swap/,/# Set up bin/d" \
- -e "/^remount_needed/,/^fi$/d" -e "/^# Clean out/,/in_sysinit/d" \
- -e "/# Mount all o/,/# Start the g/d" \
- -e "/# Boot time/,/# let's/d" -i /mnt/etc/rc.d/rc.sysinit
-# delete all classical disk base rootfs stuff from halt
-sed -e "7i# Modified by $0 during stage3 bootup." \
- -e "/# Save mixer/,/Saving random/d" -e "/quotaoff/,/^# Now halt/d" \
- -i /mnt/etc/init.d/halt
-# boot.slx is a special runlevel script generated within initialramfs which
-# should be executed before the normal runlevel scripts.
-echo -e "# Run OpenSLX init runlevel script\n/etc/init.d/boot.slx" \
- >>/mnt/etc/rc.d/rc.sysinit
-# switch off SElinux enforcing
-sed -e "1i# Configuration modified by $0 during stage3 bootup." \
- -e "s/SELINUX=.*/SELINUX=permissive/" -i /mnt/etc/selinux/config
-# switch off display manager start via inittab
-sed -e "s/x:5:re.*/# line deleted in stage3, re-enable via desktop plugin/" \
- -i /mnt/etc/inittab
-# link halt and reboot scripts
-ln -s ../init.d/killall /mnt/etc/rc.d/rc0.d/S00killall
-ln -s ../init.d/halt /mnt/etc/rc.d/rc0.d/S01halt
-ln -s ../init.d/killall /mnt/etc/rc.d/rc6.d/S00killall
-ln -s ../init.d/halt /mnt/etc/rc.d/rc6.d/S01reboot
-}