cryptonas/DEBIAN/postinst

11 lines
204 B
Bash
Executable file

#!/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