Until now, halt and reboot were shell scripts that called shutdown.
install -d $(DESTDIR)$(SBINDIR)
install -s dinit dinitctl $(SHUTDOWN) $(DESTDIR)$(SBINDIR)
ifeq ($(BUILD_SHUTDOWN),yes)
- install halt reboot $(DESTDIR)$(SBINDIR)
+ ln $(DESTDIR)$(SBINDIR)\shutdown $(DESTDIR)$(SBINDIR)\halt
+ ln $(DESTDIR)$(SBINDIR)\shutdown $(DESTDIR)$(SBINDIR)\reboot
endif
clean:
+++ /dev/null
-#!/bin/sh
-# "halt" command actually executes the more useful "power off".
-shutdown -p "$@"
+++ /dev/null
-#!/bin/sh
-shutdown -r "$@"