Codebase list sysvinit / b5e875c
hurd-i386 runsystem.sysv: honor init=something in the kernel command line. Samuel Thibault 10 years ago
2 changed file(s) with 16 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 sysvinit (2.88dsf-54) UNRELEASED; urgency=medium
1
2 [ Justus Winter ]
3 * hurd-i386 runsystem.sysv: honor init=something in the kernel command line.
4
5 -- Samuel Thibault <sthibault@debian.org> Tue, 08 Apr 2014 01:41:51 +0200
6
07 sysvinit (2.88dsf-53) unstable; urgency=medium
18
29 [ Gabriele Giacone ]
1717
1818 # Shell used for normal single-user startup.
1919 SHELL=/bin/sh
20
21 # The init program to call.
22 #
23 # Can be overridden using init=something in the kernel command line.
24 init=/sbin/init
2025
2126 ###
2227
8186 shift
8287 case "$arg" in
8388 --*) ;;
89 init=*)
90 eval "${arg}"
91 ;;
8492 *=*) ;;
8593 -*)
8694 flags="${flags}${arg#-}"
110118 fsysopts / --update --readonly
111119
112120 # Finally, start the actual SysV init.
113 exec /sbin/init ${single} -a
121 exec ${init} ${single} -a