diff --git a/openwrt/viwib-4-cleanup.sh b/openwrt/viwib-4-cleanup.sh index 5ed6c95..8359c61 100755 --- a/openwrt/viwib-4-cleanup.sh +++ b/openwrt/viwib-4-cleanup.sh @@ -2,8 +2,6 @@ # Nico Schottelius # 2020-06-14 -set -e -set -x if [ $# -ne 2 ]; then echo "$0 viwib-ip-address viwib-id" @@ -12,6 +10,9 @@ if [ $# -ne 2 ]; then exit 1 fi +set -e +set -x + viwib_ip=$1; shift id=$1; shift