no dollars

This commit is contained in:
Bob Mottram 2014-12-27 16:54:45 +00:00
parent 1750c9691b
commit 7efd9f3e6b
1 changed files with 2 additions and 2 deletions

View File

@ -388,10 +388,10 @@ function argument_checks {
if [ ! $MY_USERNAME ]; then if [ ! $MY_USERNAME ]; then
if [[ $DOMAIN_NAME == "tor-wifi" || $DOMAIN_NAME == "torwifi" || $DOMAIN_NAME == "tor-hotspot" || $DOMAIN_NAME == "torhotspot" || $DOMAIN_NAME == "tor-access-point" || $DOMAIN_NAME == "tor" || $DOMAIN_NAME == "tor-dongle" || $DOMAIN_NAME == "tordongle" ]]; then if [[ $DOMAIN_NAME == "tor-wifi" || $DOMAIN_NAME == "torwifi" || $DOMAIN_NAME == "tor-hotspot" || $DOMAIN_NAME == "torhotspot" || $DOMAIN_NAME == "tor-access-point" || $DOMAIN_NAME == "tor" || $DOMAIN_NAME == "tor-dongle" || $DOMAIN_NAME == "tordongle" ]]; then
if [ -d /home/tor ]; then if [ -d /home/tor ]; then
$MY_USERNAME="tor" MY_USERNAME="tor"
fi fi
if [ -d /home/toruser ]; then if [ -d /home/toruser ]; then
$MY_USERNAME="toruser" MY_USERNAME="toruser"
fi fi
if [ ! $MY_USERNAME ]; then if [ ! $MY_USERNAME ]; then
show_help show_help