[Pkg-sysvinit-commits] r1424 - in sysvinit-upstream/trunk: doc man src
Petter Reinholdtsen
pere at alioth.debian.org
Fri Jul 10 21:41:03 UTC 2009
Author: pere
Date: 2009-07-10 21:41:02 +0000 (Fri, 10 Jul 2009)
New Revision: 1424
Modified:
sysvinit-upstream/trunk/doc/Changelog
sysvinit-upstream/trunk/man/init.8
sysvinit-upstream/trunk/src/init.c
Log:
Allow 'telinit u' in runlevels 0 and 6. Patch from Thomas Hood.
Modified: sysvinit-upstream/trunk/doc/Changelog
===================================================================
--- sysvinit-upstream/trunk/doc/Changelog 2009-07-10 21:37:34 UTC (rev 1423)
+++ sysvinit-upstream/trunk/doc/Changelog 2009-07-10 21:41:02 UTC (rev 1424)
@@ -29,6 +29,7 @@
re-exec. Patch from RedHat.
* Correct init to avoid race condition when starting programs during
boot. Patch from SuSe.
+ * Allow 'telinit u' in runlevels 0 and 6. Patch from Thomas Hood.
-- Petter Reinholdtsen <pere at debian.org> Fri, 30 Jul 2004 14:14:58 +0200
Modified: sysvinit-upstream/trunk/man/init.8
===================================================================
--- sysvinit-upstream/trunk/man/init.8 2009-07-10 21:37:34 UTC (rev 1423)
+++ sysvinit-upstream/trunk/man/init.8 2009-07-10 21:41:02 UTC (rev 1424)
@@ -145,7 +145,7 @@
.IP "\fBU\fP or \fBu\fP"
tell \fBinit\fP to re-execute itself (preserving the state). No re-examining of
\fB/etc/inittab\fP file happens. Run level should be one of
-\fBSs12345\fP
+\fBSs0123456\fP
otherwise request would be silently ignored.
.PP
\fBtelinit\fP can tell \fBinit\fP how long it should wait
Modified: sysvinit-upstream/trunk/src/init.c
===================================================================
--- sysvinit-upstream/trunk/src/init.c 2009-07-10 21:37:34 UTC (rev 1423)
+++ sysvinit-upstream/trunk/src/init.c 2009-07-10 21:41:02 UTC (rev 1424)
@@ -1836,7 +1836,7 @@
char **env;
int fd;
- if (strchr("S12345",runlevel) == NULL)
+ if (strchr("S0123456",runlevel) == NULL)
return;
/*
More information about the Pkg-sysvinit-commits
mailing list