cryptonas/DEBIAN/postinst

11 lines
213 B
Plaintext
Raw Normal View History

#!/bin/sh
# add the cryptobox startup script to /etc/rc?.d
2005-12-01 19:22:05 +01:00
update-rc.d cryptobox defaults 98
# start it
if invoke-rc.d cryptobox status
then invoke-rc.d cryptobox restart
else invoke-rc.d cryptobox start
fi