Implement a shutdown commoand which issues a shutdown via Dinit's
authorDavin McCall <davmac@davmac.org>
Wed, 30 Dec 2015 22:24:54 +0000 (22:24 +0000)
committerDavin McCall <davmac@davmac.org>
Wed, 30 Dec 2015 22:24:54 +0000 (22:24 +0000)
commitc25317653592eee1d722326cd273dd0759b0dd40
tree7ee87d0cacd0e578a9d6f4aaed14a80b96a90557
parent749363b0dabb5d4e78ce61e4e6b9241c1d95111c
Implement a shutdown commoand which issues a shutdown via Dinit's
control protocol. Includes 'halt' and 'reboot' alias scripts.

Implement a dinit-reboot helper program to be called by the main
Dinit process to actually perform shutdown.
.gitignore
Makefile
dinit-reboot.cc [new file with mode: 0644]
dinit.cc
halt [new file with mode: 0755]
reboot [new file with mode: 0755]
shutdown.cc [new file with mode: 0644]