Skip to content
Snippets Groups Projects
Verified Commit 3e2c32d1 authored by David Beniamine's avatar David Beniamine
Browse files

Pass argument to upgrade_session

parent 554b2d89
No related branches found
No related tags found
No related merge requests found
...@@ -34,12 +34,7 @@ broadcast=$(ip a | awk '/inet.*eth1/ {print $4}' | cut -d / -f 1) ...@@ -34,12 +34,7 @@ broadcast=$(ip a | awk '/inet.*eth1/ {print $4}' | cut -d / -f 1)
wait_time=120 wait_time=120
wait_step=5 wait_step=5
if [ -z "$1" ] cmd="cd /opt/primtux-eole/; export HTTPS_PROXY='http://dnsproxy:3128'; git pull; ./upgrade-session.sh $1"
then
cmd="cd /opt/primtux-eole/; export HTTPS_PROXY='http://dnsproxy:3128'; git pull; ./upgrade-session.sh"
else
cmd="$@"
fi
while read date mac name while read date mac name
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment