add rc.local, rc.shutdown
This commit is contained in:
commit
40b579e4bd
9
Makefile
Normal file
9
Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
install:
|
||||||
|
install -m755 rc.local $(DESTDIR)/etc
|
||||||
|
install -m755 rc.shutdown $(DESTDIR)/etc
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) $(DESTDIR)/etc/rc.local
|
||||||
|
$(RM) $(DESTDIR)/etc/rc.shutdown
|
||||||
|
|
||||||
|
.PHONY: install uninstall
|
||||||
5
rc.local
Executable file
5
rc.local
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
# Default rc.local for void; add your custom commands here.
|
||||||
|
#
|
||||||
|
# This is run by runit in stage 2 before the services are executed
|
||||||
|
# (see /etc/runit/2).
|
||||||
|
light -I
|
||||||
5
rc.shutdown
Executable file
5
rc.shutdown
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
# Default rc.shutdown for void; add your custom commands here.
|
||||||
|
#
|
||||||
|
# This is run by runit in stage 3 after the services are stopped
|
||||||
|
# (see /etc/runit/3).
|
||||||
|
light -O
|
||||||
Loading…
x
Reference in New Issue
Block a user