From 4ee6c0257ca72f754ec930f3ab12ff9b46d37f9b Mon Sep 17 00:00:00 2001 From: LI JIAHAO Date: Tue, 29 May 2018 14:04:14 +0800 Subject: [PATCH] remove sleep 2s Signed-off-by: LI JIAHAO --- install.sh | 2 +- ipgw.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8f310b1..554db9e 100755 --- a/install.sh +++ b/install.sh @@ -99,7 +99,7 @@ sudo ln -s /opt/2645/neuipgw/ipgw /usr/bin/ipgw sudo sh -c "echo [Desktop Entry]>$desktop_path" sudo sh -c " echo Name=NEU-IPGW>>$desktop_path" sudo sh -c "echo Comment=Speedier Internet Access>>$desktop_path" -sudo sh -c " echo Exec=/usr/bin/ipgw>>$desktop_path" +sudo sh -c " echo 'Exec=/usr/bin/ipgw && sleep 2s'>>$desktop_path" sudo sh -c " echo Icon=/opt/2645/neuipgw/ipgw.png>>$desktop_path" sudo sh -c " echo Terminal=true>>$desktop_path" sudo sh -c " echo Type=Application>>$desktop_path" diff --git a/ipgw.sh b/ipgw.sh index 535e405..a904cba 100755 --- a/ipgw.sh +++ b/ipgw.sh @@ -235,5 +235,4 @@ fi #echo $LOGOUT #echo $LOGIN -sleep 2s