SVN: rc-scripts/trunk/init: random.conf rc.conf rcS-sulogin.conf rcS.conf
glen
glen at pld-linux.org
Sun Aug 14 11:56:00 CEST 2011
Author: glen
Date: Sun Aug 14 11:56:00 2011
New Revision: 12307
Modified:
rc-scripts/trunk/init/random.conf
rc-scripts/trunk/init/rc.conf
rc-scripts/trunk/init/rcS-sulogin.conf
rc-scripts/trunk/init/rcS.conf
Log:
our vim-syntax-upstart recognizes the filetype itself
Modified: rc-scripts/trunk/init/random.conf
==============================================================================
--- rc-scripts/trunk/init/random.conf (original)
+++ rc-scripts/trunk/init/random.conf Sun Aug 14 11:56:00 2011
@@ -1,4 +1,4 @@
-description "Save random entropy on shutdown and restore it at boot time"
+description "Save random entropy on shutdown and restore it at boot time"
start on pld.sysinit-done
stop on pld.shutdown-started
@@ -24,4 +24,3 @@
chmod 600 $SEED_FILE
dd if=/dev/urandom of=$SEED_FILE count=1 bs=$bytes 2>/dev/null
end script
-
Modified: rc-scripts/trunk/init/rc.conf
==============================================================================
--- rc-scripts/trunk/init/rc.conf (original)
+++ rc-scripts/trunk/init/rc.conf Sun Aug 14 11:56:00 2011
@@ -22,5 +22,3 @@
export RUNLEVEL
console output
exec /etc/rc.d/rc $RUNLEVEL
-
-# vi: ft=upstart
Modified: rc-scripts/trunk/init/rcS-sulogin.conf
==============================================================================
--- rc-scripts/trunk/init/rcS-sulogin.conf (original)
+++ rc-scripts/trunk/init/rcS-sulogin.conf Sun Aug 14 11:56:00 2011
@@ -12,6 +12,7 @@
script
exec /bin/sh
end script
+
post-stop script
if [ "$RUNLEVEL" = "S" ]; then
runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab)
@@ -19,5 +20,3 @@
exec telinit $runlevel
fi
end script
-
-# vi: ft=upstart
Modified: rc-scripts/trunk/init/rcS.conf
==============================================================================
--- rc-scripts/trunk/init/rcS.conf (original)
+++ rc-scripts/trunk/init/rcS.conf Sun Aug 14 11:56:00 2011
@@ -16,6 +16,7 @@
# without information so that it defaults to previous=N runlevel=S.
console output
exec /etc/rc.d/rc.sysinit
+
post-stop script
if [ "$UPSTART_EVENTS" = "startup" ]; then
runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab)
@@ -29,5 +30,3 @@
exec telinit $runlevel
fi
end script
-
-# vi: ft=upstart
More information about the pld-cvs-commit
mailing list