packaging cleaned up
This commit is contained in:
parent
4b83d48429
commit
def6578c9e
|
@ -3,8 +3,6 @@
|
||||||
# add the cryptobox startup script to /etc/rc?.d
|
# add the cryptobox startup script to /etc/rc?.d
|
||||||
update-rc.d cryptobox defaults 98
|
update-rc.d cryptobox defaults 98
|
||||||
|
|
||||||
# start it
|
invoke-rc.d cryptobox restart
|
||||||
if invoke-rc.d cryptobox status
|
|
||||||
then invoke-rc.d cryptobox restart
|
true
|
||||||
else invoke-rc.d cryptobox start
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
then [ $# -eq 0 ] && exit 0
|
||||||
[ "$1" = "status" ] && exit 1
|
[ "$1" = "status" ] && exit 1
|
||||||
[ "$1" = "stop" ] && exit 0
|
[ "$1" = "stop" ] && exit 0
|
||||||
echo "CryptoBox is disabled"
|
echo "CryptoBox is disabled by default"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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 " * 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 " * configure your CryptoBox via a webbrowser"
|
||||||
echo
|
echo
|
||||||
else
|
else
|
||||||
echo
|
echo
|
||||||
echo "+---------------------------------------------------------------+"
|
echo "+---------------------------------------------------------------+"
|
||||||
echo "| WARNING: Some CryptoBox development features are enabled |"
|
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 "| If you don't plan to refine this CD, don't use it! |"
|
||||||
echo "+---------------------------------------------------------------+"
|
echo "+---------------------------------------------------------------+"
|
||||||
echo
|
echo
|
||||||
$DEV_FEATURES_SCRIPT "$@"
|
"$DEV_FEATURES_SCRIPT" "$@"
|
||||||
fi
|
fi
|
||||||
|
true
|
||||||
;;
|
;;
|
||||||
stop )
|
stop )
|
||||||
# exit if not running
|
# exit if not running
|
||||||
|
|
Loading…
Reference in New Issue