[-]
[+]
|
Changed |
daemontools-0.76-init.diff
|
@@ -46,8 +46,8 @@
+ echo 'innittab does not contain a scanbootline'
+fi
--- daemontools-0.76/package/run.inittab.orig 2008-12-20 19:19:48.000000000 +0100
-+++ daemontools-0.76/package/run.inittab 2008-12-20 19:20:45.000000000 +0100
-@@ -6,8 +6,8 @@
++++ daemontools-0.76/package/run.inittab 2008-12-20 19:34:06.000000000 +0100
+@@ -6,8 +6,10 @@
else
echo 'Adding svscanboot to inittab...'
rm -f /etc/inittab'{new}'
@@ -55,6 +55,8 @@
+ cat /etc/inittab /command/package/boot.inittab > /etc/inittab'{new}'
mv -f /etc/inittab'{new}' /etc/inittab
- kill -HUP 1
-+ init q
++ if [ -n "`pidof init`" ] ; then
++ kill -HUP 1
++ fi
echo 'init should start svscan now.'
fi
|