debian package setup is more compliant than before
parent
f9142cd386
commit
253fb1f06a
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# add the cryptobox startup script to /etc/rc?.d
|
||||
update-rc.d cryptobox 98
|
||||
|
||||
# start it
|
||||
if invoke-rc.d cryptobox status
|
||||
then invoke-rc.d cryptobox restart
|
||||
else invoke-rc.d cryptobox start
|
||||
fi
|
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shut down
|
||||
invoke-rc.d cryptobox stop
|
||||
|
||||
# remove symlinks in /etc/rc?.d
|
||||
[ "$1" = "purge" ] && update-rc.d cryptobox remove
|
Loading…
Reference in New Issue