git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the network script disableable if manual setup of /etc/hosts is required.
[myplc.git]
/
plc.d
/
network
diff --git
a/plc.d/network
b/plc.d/network
index
9283f58
..
f2c3dce
100755
(executable)
--- a/
plc.d/network
+++ b/
plc.d/network
@@
-17,6
+17,8
@@
# Be verbose
set -x
+[ "$PLC_NET_ENABLED" -ne 1 ] && exit 0
+
case "$1" in
start)
MESSAGE=$"Generating network files"