cryptonas/cbox-tree.d/etc/init.d/cb-hints.sh
lars 7eaa3c7b70 example for apt-proxy added to dfs-cbox.conf
hints for no-login added to init-scripts
version file added to cryptobox configuration template (for config partition)
2005-10-15 10:22:53 +00:00

27 lines
518 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/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