27 lines
522 B
Bash
27 lines
522 B
Bash
|
#!/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
|
||
|
|