[Initng-svn] r4013 - initng-ifiles/trunk/initfiles/system
svn at initng.thinktux.net
svn at initng.thinktux.net
Thu May 4 20:46:42 CEST 2006
Author: grzegorz
Date: Thu May 4 20:46:40 2006
New Revision: 4013
Modified:
initng-ifiles/trunk/initfiles/system/udev.ii
Log:
we can't assume that initng has pid 1, e.g. when booting from initrd
Modified: initng-ifiles/trunk/initfiles/system/udev.ii
==============================================================================
--- initng-ifiles/trunk/initfiles/system/udev.ii (original)
+++ initng-ifiles/trunk/initfiles/system/udev.ii Thu May 4 20:46:40 2006
@@ -54,8 +54,10 @@
@mknod@ -m0666 /dev/zero c 1 5
@mknod@ /dev/console c 5 1
- # Send SIGHUP to initng pid 1, will reopen /dev/initctl and /dev/initng.
- @kill@ -SIGHUP 1
+ # Send SIGHUP to initng, will reopen /dev/initctl and /dev/initng.
+ # we can't assume that initng has pid 1, e.g. when booting from initrd
+ @kill@ -SIGHUP `pidof initng`
+
# Why? it's already mounted! (i'll remove it at 12.1., if no reason (deac))
# [ -d /proc/1 ] || @mount@ -n /proc
exit 0
More information about the Initng-svn
mailing list