11 lines
213 B
Bash
Executable file
11 lines
213 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# add the cryptobox startup script to /etc/rc?.d
|
|
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
|