#! /bin/sh /usr/share/dpatch/dpatch-run ## 65_init_u_in_06.dpatch by Thomas Hood ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Allow 'telinit u' in runlevels 0 and 6 @DPATCH@ diff -urNad --exclude=CVS --exclude=.svn ./man/init.8 /tmp/dpep-work.ZhzV9R/trunk/man/init.8 --- ./man/init.8 2006-01-04 11:38:11.000000000 +0100 +++ /tmp/dpep-work.ZhzV9R/trunk/man/init.8 2006-01-04 11:38:26.000000000 +0100 @@ -159,7 +159,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 diff -urNad --exclude=CVS --exclude=.svn ./src/init.c /tmp/dpep-work.ZhzV9R/trunk/src/init.c --- ./src/init.c 2006-01-04 11:38:12.000000000 +0100 +++ /tmp/dpep-work.ZhzV9R/trunk/src/init.c 2006-01-04 11:38:12.000000000 +0100 @@ -1996,7 +1996,7 @@ char **env; int fd; - if (strchr("S12345",runlevel) == NULL) + if (strchr("S0123456",runlevel) == NULL) return; /*