26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
--- systemd-216/src/sysv-generator/sysv-generator.c.orig 2014-09-27 16:57:35.327164853 +0200
|
|
+++ systemd-216/src/sysv-generator/sysv-generator.c 2014-09-27 16:59:01.635140790 +0200
|
|
@@ -52,15 +52,15 @@
|
|
const RunlevelType type;
|
|
} rcnd_table[] = {
|
|
/* Standard SysV runlevels for start-up */
|
|
- { "rc1.d", SPECIAL_RESCUE_TARGET, RUNLEVEL_UP },
|
|
- { "rc2.d", SPECIAL_RUNLEVEL2_TARGET, RUNLEVEL_UP },
|
|
- { "rc3.d", SPECIAL_RUNLEVEL3_TARGET, RUNLEVEL_UP },
|
|
- { "rc4.d", SPECIAL_RUNLEVEL4_TARGET, RUNLEVEL_UP },
|
|
- { "rc5.d", SPECIAL_RUNLEVEL5_TARGET, RUNLEVEL_UP },
|
|
+ { "rc1.d", "rescue.target", RUNLEVEL_UP },
|
|
+ { "rc2.d", "multi-user.target", RUNLEVEL_UP },
|
|
+ { "rc3.d", "multi-user.target", RUNLEVEL_UP },
|
|
+ { "rc4.d", "multi-user.target", RUNLEVEL_UP },
|
|
+ { "rc5.d", "graphical.target", RUNLEVEL_UP },
|
|
|
|
/* Standard SysV runlevels for shutdown */
|
|
- { "rc0.d", SPECIAL_POWEROFF_TARGET, RUNLEVEL_DOWN },
|
|
- { "rc6.d", SPECIAL_REBOOT_TARGET, RUNLEVEL_DOWN }
|
|
+ { "rc0.d", "poweroff.target", RUNLEVEL_DOWN },
|
|
+ { "rc6.d", "reboot.target", RUNLEVEL_DOWN }
|
|
|
|
/* Note that the order here matters, as we read the
|
|
directories in this order, and we want to make sure that
|