File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed
Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export VPNon="'0'"
2929[ " $( uci show| grep gluon.mesh_vpn.enabled| cut -d" =" -f2) " == " '1'" ] && export VPNon=" '1'"
3030[ " $( uci show| grep tunneldigger.mesh_vpn.enabled| cut -d" =" -f2) " == " '1'" ] && export VPNon=" '1'"
3131echo MoL.off=$MoLoff MoW.off=$MoWoff LAN=$ifLAN WAN=$ifWAN LANCLI=$lanCLI CLI=$ifCLI
32+ echo switch: $( swconfig dev switch0 show | grep ' link:' | sed -e ' s/link://g' -e ' s/port/p/g' -e ' s/speed://g' -e ' s/baseT//g' -e ' s/ full-duplex/fdx/g' -e ' s/ half-duplex/hdx/g' -e ' s/flow/f/g' -e ' s/\t//g' -e ' s/$/;/g' -e ' s/ ;/;/g' )
3233echo " ########################################"
3334([ " $VPNon " == " '1'" ] && [ " $MoWoff " == " '0'" ]) && echo ALARM! MoW-VPN-Konflikt?
3435([ " $MoLoff " == " '0'" ] && [ " $ifCLI " == " $ifLAN " ]) && echo ALARM! MoL-CLI-Konflikt?
You can’t perform that action at this time.
0 commit comments