no dollars
This commit is contained in:
parent
1750c9691b
commit
7efd9f3e6b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue