From 066efaa33e7641d378ac4d8a1419a525df6f70d2 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 24 Aug 2018 16:59:28 +0200 Subject: initd: automatically do a shutdown/reboot when the target is completed Signed-off-by: David Oberhollenzer --- services/Makemodule.am | 7 +++---- services/reboot | 5 ----- services/shutdown | 5 ----- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 services/reboot delete mode 100644 services/shutdown (limited to 'services') diff --git a/services/Makemodule.am b/services/Makemodule.am index ab79414..5b12ca4 100644 --- a/services/Makemodule.am +++ b/services/Makemodule.am @@ -1,21 +1,20 @@ initdir = @TEMPLATEDIR@ init_DATA = services/agetty services/hostname services/loopback init_DATA += services/sysctl services/hwclock services/sysinit -init_DATA += services/reboot services/shutdown services/sigkill init_DATA += services/sigterm services/sync services/devfs init_DATA += services/sysfs services/procfs services/tmpfs init_DATA += services/vfs services/ifrename services/ifcfg init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound init_DATA += services/dnsmasq services/ifdown services/modules init_DATA += services/network services/hostapd services/swclock -init_DATA += services/swclocksave services/nft +init_DATA += services/swclocksave services/nft services/sigkill if USYSLOGD init_DATA += services/usyslogd endif EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname -EXTRA_DIST += services/hwclock services/loopback services/reboot -EXTRA_DIST += services/shutdown services/sync services/sysctl services/tmpfs +EXTRA_DIST += services/hwclock services/loopback +EXTRA_DIST += services/sync services/sysctl services/tmpfs EXTRA_DIST += services/dhcpcd services/dhcpcdmaster services/unbound EXTRA_DIST += services/usyslogd services/dnsmasq services/network diff --git a/services/reboot b/services/reboot deleted file mode 100644 index 65a8eac..0000000 --- a/services/reboot +++ /dev/null @@ -1,5 +0,0 @@ -description system reboot -exec shutdown -nrf -type wait -target reboot -after sync sigkill sigterm diff --git a/services/shutdown b/services/shutdown deleted file mode 100644 index 679ffbd..0000000 --- a/services/shutdown +++ /dev/null @@ -1,5 +0,0 @@ -description system shutdown -exec shutdown -npf -type wait -target shutdown -after sync sigkill sigterm -- cgit v1.2.3