diff --git a/registry/scripts/upgrade_all.sh b/registry/scripts/upgrade_all.sh index c6a96860c72c8164dc9e81e39c9e1ce03e81006b..6b35643efe2ab453f941b1e6b20401571f54e7a3 100755 --- a/registry/scripts/upgrade_all.sh +++ b/registry/scripts/upgrade_all.sh @@ -34,12 +34,7 @@ broadcast=$(ip a | awk '/inet.*eth1/ {print $4}' | cut -d / -f 1) wait_time=120 wait_step=5 -if [ -z "$1" ] -then - cmd="cd /opt/primtux-eole/; export HTTPS_PROXY='http://dnsproxy:3128'; git pull; ./upgrade-session.sh" -else - cmd="$@" -fi +cmd="cd /opt/primtux-eole/; export HTTPS_PROXY='http://dnsproxy:3128'; git pull; ./upgrade-session.sh $1" while read date mac name do