|
@@ -332,7 +332,7 @@ if [ "$opt" != "" ]; then
|
332
|
332
|
getInfo;
|
333
|
333
|
checkDep;
|
334
|
334
|
event_key="1";
|
335
|
|
- if [ $sw_proxy == "proxy" ]; then
|
|
335
|
+ if [ "$sw_proxy" == "proxy" ]; then
|
336
|
336
|
if [[ "$http_proxy" != "" ]] && [[ "$(systemctl list-units|grep "$http_proxy"|wc -m)" != "0" ]]; then
|
337
|
337
|
systemctl stop $http_proxy
|
338
|
338
|
createConf;
|
|
@@ -374,7 +374,7 @@ if [ "$opt" != "" ]; then
|
374
|
374
|
getInfo;
|
375
|
375
|
checkDep;
|
376
|
376
|
event_key="1";
|
377
|
|
- if [ $sw_proxy == "proxy" ]; then
|
|
377
|
+ if [ "$sw_proxy" == "proxy" ]; then
|
378
|
378
|
if [[ "$http_proxy" != "" ]] && [[ "$(systemctl list-units|grep "$http_proxy"|wc -m)" != "0" ]]; then
|
379
|
379
|
systemctl stop $http_proxy
|
380
|
380
|
createConf;
|
|
@@ -415,7 +415,7 @@ fi
|
415
|
415
|
if [ "$opt" != "" ]; then
|
416
|
416
|
getInfo;
|
417
|
417
|
checkDep;
|
418
|
|
- if [ $sw_proxy == "proxy" ]; then
|
|
418
|
+ if [ "$sw_proxy" == "proxy" ]; then
|
419
|
419
|
if [[ "$http_proxy" != "" ]] && [[ "$(systemctl list-units|grep "$http_proxy"|wc -m)" != "0" ]]; then
|
420
|
420
|
scanSSL;
|
421
|
421
|
systemctl restart $http_proxy
|