From db2c5cf4d37c77b1586206855d7ca20c11cb440f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Tue, 16 Jul 2013 14:47:12 +0200 Subject: init: inform users about .override files in .conf files --- init/control-alt-delete.conf | 3 +++ init/kexec-disable.conf | 3 +++ init/plymouth-shutdown.conf | 3 +++ init/prefdm.conf | 3 +++ init/quit-plymouth.conf | 3 +++ init/rc.conf | 3 +++ init/rcS-emergency.conf | 3 +++ init/rcS-sulogin.conf | 3 +++ init/rcS.conf | 3 +++ init/serial.conf | 3 +++ init/splash-manager.conf | 3 +++ init/start-ttys.conf | 3 +++ init/tty.conf | 3 +++ 13 files changed, 39 insertions(+) (limited to 'init') diff --git a/init/control-alt-delete.conf b/init/control-alt-delete.conf index 35cb1305..bd074f90 100644 --- a/init/control-alt-delete.conf +++ b/init/control-alt-delete.conf @@ -2,6 +2,9 @@ # # This task is run whenever the Control-Alt-Delete key combination is # pressed. Usually used to shut down the machine. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file control-alt-delete.override and put your changes there. start on control-alt-delete diff --git a/init/kexec-disable.conf b/init/kexec-disable.conf index 6a75a944..5d6ad41e 100644 --- a/init/kexec-disable.conf +++ b/init/kexec-disable.conf @@ -1,4 +1,7 @@ # On machines where kexec isn't going to be used, free the memory reserved for it. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file kexec-disable.override and put your changes there. start on runlevel [!S016] task diff --git a/init/plymouth-shutdown.conf b/init/plymouth-shutdown.conf index 49010848..6a4a2ee2 100644 --- a/init/plymouth-shutdown.conf +++ b/init/plymouth-shutdown.conf @@ -2,6 +2,9 @@ # # This service triggers plymouth to put up a splash # when leaving runlevel 5. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file plymouth-shutdown.override and put your changes there. start on (splash-request IMMEDIATE=1) or (splash-request and stopped prefdm) diff --git a/init/prefdm.conf b/init/prefdm.conf index 701b8065..f5cf85a3 100644 --- a/init/prefdm.conf +++ b/init/prefdm.conf @@ -1,6 +1,9 @@ # prefdm - preferred display manager # # Starts gdm/xdm/etc by preference +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file prefdm.override and put your changes there. start on stopped rc RUNLEVEL=5 diff --git a/init/quit-plymouth.conf b/init/quit-plymouth.conf index 7a67b071..b08c079a 100644 --- a/init/quit-plymouth.conf +++ b/init/quit-plymouth.conf @@ -4,6 +4,9 @@ # end of the boot cycle. We start on 'stopping rcX' to make sure # this completes before the getty starts. # prefdm handles quit differently, though. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file quit-plymouth.override and put your changes there. start on runlevel S or stopping rc RUNLEVEL=[234] diff --git a/init/rc.conf b/init/rc.conf index e7285e47..64c3f8ec 100644 --- a/init/rc.conf +++ b/init/rc.conf @@ -2,6 +2,9 @@ # # This task runs the old sysv-rc runlevel scripts. It # is usually started by the telinit compatibility wrapper. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file rc.override and put your changes there. start on runlevel [0123456] diff --git a/init/rcS-emergency.conf b/init/rcS-emergency.conf index f37c6231..6ef876a8 100644 --- a/init/rcS-emergency.conf +++ b/init/rcS-emergency.conf @@ -1,6 +1,9 @@ # rcS-emergency - SysVinit emergency compatibility # # This task is run before rc.sysinit if emergency is passed to kernel +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file rcS-emergency.override and put your changes there. console owner diff --git a/init/rcS-sulogin.conf b/init/rcS-sulogin.conf index 818518de..0216e284 100644 --- a/init/rcS-sulogin.conf +++ b/init/rcS-sulogin.conf @@ -2,6 +2,9 @@ # # This task runs /bin/bash during "single-user" mode, # then continues to the default runlevel. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file rcS-sulogin.override and put your changes there. start on runlevel S diff --git a/init/rcS.conf b/init/rcS.conf index 32113a83..5f226a50 100644 --- a/init/rcS.conf +++ b/init/rcS.conf @@ -1,6 +1,9 @@ # rcS - runlevel compatibility # # This task runs the old sysv-rc startup scripts. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file rcS.override and put your changes there. start on startup diff --git a/init/serial.conf b/init/serial.conf index 7a3f2f4c..f426edff 100644 --- a/init/serial.conf +++ b/init/serial.conf @@ -20,6 +20,9 @@ # # respawn # exec agetty -h -L -w /dev/ttyS0 115200 vt102 +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file serial.override and put your changes there. start on fedora.serial-console-available DEV=* and stopped rc RUNLEVEL=[2345] stop on runlevel [S016] diff --git a/init/splash-manager.conf b/init/splash-manager.conf index eea28ca4..ad1a9198 100644 --- a/init/splash-manager.conf +++ b/init/splash-manager.conf @@ -2,6 +2,9 @@ # # This service emits a splash-request event when # its time to put up the plymouth splash +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file splash-manager.override and put your changes there. start on starting rc RUNLEVEL=[06] task diff --git a/init/start-ttys.conf b/init/start-ttys.conf index 1528cf4b..e5136d4c 100644 --- a/init/start-ttys.conf +++ b/init/start-ttys.conf @@ -1,5 +1,8 @@ # # This service starts the configured number of gettys. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file start-ttys.override and put your changes there. start on stopped rc RUNLEVEL=[2345] diff --git a/init/tty.conf b/init/tty.conf index 2b2cecd4..5dcd7ad3 100644 --- a/init/tty.conf +++ b/init/tty.conf @@ -1,6 +1,9 @@ # tty - getty # # This service maintains a getty on the specified device. +# +# Do not edit this file directly. If you want to change the behaviour, +# please create a file tty.override and put your changes there. stop on runlevel [S016] -- cgit v1.2.1