mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-14 17:03:52 +08:00
update
This commit is contained in:
1 parent
5fea272f7a
commit
8842fc39c1
1 file changed
+2
-2
+2
-2
@@ -238,8 +238,8 @@ main(){
|
||||
fi;
|
||||
;;
|
||||
*)
|
||||
if [ $(grep "Endpoint" $CONFIG|awk '{print $3}') != $endpoint ]; then
|
||||
sed -i -r 's/Endpoint.*/Endpoint = '$endpoint'/' $CONFIG;
|
||||
if [ $(grep -i "Endpoint" $CONFIG|awk '{print $3}') != $endpoint ]; then
|
||||
sed -i -r 's/Endpoint.*/Endpoint = '$endpoint'/i' $CONFIG;
|
||||
fi;
|
||||
;;
|
||||
esac;
|
||||
|
||||
Reference in new issue
Block a user