packaging cleaned up
This commit is contained in:
parent
4b83d48429
commit
def6578c9e
3 changed files with 11 additions and 10 deletions
|
@ -3,8 +3,6 @@
|
|||
# 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
|
||||
invoke-rc.d cryptobox restart
|
||||
|
||||
true
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
invoke-rc.d crpyotbox status && invoke-rc.d cryptobox stop
|
||||
invoke-rc.d cryptobox stop
|
||||
|
||||
true
|
||||
|
|
|
@ -17,7 +17,7 @@ if [ "$NO_START" = "1" ]
|
|||
then [ $# -eq 0 ] && exit 0
|
||||
[ "$1" = "status" ] && exit 1
|
||||
[ "$1" = "stop" ] && exit 0
|
||||
echo "CryptoBox is disabled"
|
||||
echo "CryptoBox is disabled by default"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -52,7 +52,7 @@ case "$1" in
|
|||
echo " * point a webbrowser from another computer to 'http://$(/usr/lib/cryptobox/cbox-manage.sh get_current_ip)'"
|
||||
echo " * configure your CryptoBox via a webbrowser"
|
||||
echo
|
||||
else
|
||||
else
|
||||
echo
|
||||
echo "+---------------------------------------------------------------+"
|
||||
echo "| WARNING: Some CryptoBox development features are enabled |"
|
||||
|
@ -61,8 +61,9 @@ case "$1" in
|
|||
echo "| If you don't plan to refine this CD, don't use it! |"
|
||||
echo "+---------------------------------------------------------------+"
|
||||
echo
|
||||
$DEV_FEATURES_SCRIPT "$@"
|
||||
fi
|
||||
"$DEV_FEATURES_SCRIPT" "$@"
|
||||
fi
|
||||
true
|
||||
;;
|
||||
stop )
|
||||
# exit if not running
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue