summaryrefslogtreecommitdiff
path: root/cmd/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-24 10:35:23 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-08-24 21:17:31 +0200
commit2d54b32d2406de4ad624c011bf4b30ed45dabdaf (patch)
treefa023ddc62750e3ed7f82b07eb9f3d655688fd7f /cmd/Makemodule.am
parentec6264bad59d103671c1529e47d1598941dba4b1 (diff)
Cleanup shutdown command, make reboot a symlink to shutdown
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'cmd/Makemodule.am')
-rw-r--r--cmd/Makemodule.am11
1 files changed, 2 insertions, 9 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am
index f4559a9..ef22284 100644
--- a/cmd/Makemodule.am
+++ b/cmd/Makemodule.am
@@ -1,14 +1,7 @@
shutdown_SOURCES = cmd/shutdown.c
-shutdown_CPPFLAGS = $(AM_CPPFLAGS) -DPROGNAME=shutdown
+shutdown_CPPFLAGS = $(AM_CPPFLAGS)
shutdown_CFLAGS = $(AM_CFLAGS)
shutdown_LDFLAGS = $(AM_LDFLAGS)
-shutdown_LDADD = libinit.a
-
-reboot_SOURCES = cmd/shutdown.c
-reboot_CPPFLAGS = $(AM_CPPFLAGS) -DPROGNAME=reboot
-reboot_CFLAGS = $(AM_CFLAGS)
-reboot_LDFLAGS = $(AM_LDFLAGS)
-reboot_LDADD = libinit.a
runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h
runsvc_CPPFLAGS = $(AM_CPPFLAGS)
@@ -44,5 +37,5 @@ endif
EXTRA_DIST += $(SRVHEADERS)
-sbin_PROGRAMS += service reboot shutdown
+sbin_PROGRAMS += service shutdown
helper_PROGRAMS += killall5 runsvc