1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 65_init_u_in_06.dpatch by Thomas Hood
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Allow 'telinit u' in runlevels 0 and 6
8
diff -urNad trunk~/man/init.8 trunk/man/init.8
9
--- trunk~/man/init.8 2008-03-26 09:34:10.000000000 +0100
10
+++ trunk/man/init.8 2008-03-26 09:34:10.000000000 +0100
12
.IP "\fBU\fP or \fBu\fP"
13
tell \fBinit\fP to re-execute itself (preserving the state). No re-examining of
14
\fB/etc/inittab\fP file happens. Run level should be one of
17
otherwise request would be silently ignored.
19
\fBtelinit\fP can tell \fBinit\fP how long it should wait
20
diff -urNad trunk~/src/init.c trunk/src/init.c
21
--- trunk~/src/init.c 2008-03-26 09:34:10.000000000 +0100
22
+++ trunk/src/init.c 2008-03-26 09:34:10.000000000 +0100
27
- if (strchr("S12345",runlevel) == NULL)
28
+ if (strchr("S0123456",runlevel) == NULL)