cryptonas-branches/v0.2.1/cbox-tree.d/etc/init.d/cb-hints.sh
2005-10-21 14:31:46 +00:00

27 lines
522 B
Bash
Executable file

#!/bin/sh
#
# give some hints for users, who are sitting in front of the cryptobox and are mistakenly
# waiting for a login prompt
#
case "$1" in
start )
echo
echo "Hints for usage: "
echo " * you can not login here :)"
echo " * point a webbrowser on another computer to 'http://$(/usr/lib/cryptobox/cbox-manage.sh get_current_ip)'"
echo " * configure your box via your webbrowser"
echo
;;
stop )
;;
restart )
$0 stop
$0 start
;;
* )
echo "Syntax: $0 { start | stop | restart }"
;;
esac