26 lines
518 B
Bash
Executable file
26 lines
518 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/cb-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
|
|
|