diff --git a/extras/add_vpn_user.sh b/extras/add_vpn_user.sh index 1b06478..1fff698 100755 --- a/extras/add_vpn_user.sh +++ b/extras/add_vpn_user.sh @@ -19,7 +19,7 @@ conf_bk() { /bin/cp -f "$1" "$1.old-$SYS_DT" 2>/dev/null; } add_vpn_user() { if [ "$(id -u)" != 0 ]; then - exiterr "Script must be run as root. Try 'sudo sh $0'" + exiterr "Script must be run as root. Try 'sudo bash $0'" fi if ! grep -qs "hwdsl2 VPN script" /etc/sysctl.conf \ @@ -38,8 +38,8 @@ VPN_PASSWORD=$2 if [ -z "$VPN_USER" ] || [ -z "$VPN_PASSWORD" ]; then cat 1>&2 </dev/null; } del_vpn_user() { if [ "$(id -u)" != 0 ]; then - exiterr "Script must be run as root. Try 'sudo sh $0'" + exiterr "Script must be run as root. Try 'sudo bash $0'" fi if ! grep -qs "hwdsl2 VPN script" /etc/sysctl.conf \ @@ -35,7 +35,7 @@ VPN_USER=$1 if [ -z "$VPN_USER" ]; then cat 1>&2 <