Make the network script disableable if manual setup of /etc/hosts is required.
[myplc.git] / plc.d / network
index 9283f58..f2c3dce 100755 (executable)
@@ -17,6 +17,8 @@
 # Be verbose
 set -x
 
+[ "$PLC_NET_ENABLED" -ne 1 ] && exit 0
+
 case "$1" in
     start)
        MESSAGE=$"Generating network files"