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
Use the new variable.
[myplc.git]
/
plc.d
/
network
diff --git
a/plc.d/network
b/plc.d/network
index
39d44e9
..
a994f4f
100755
(executable)
--- a/
plc.d/network
+++ b/
plc.d/network
@@
-17,6
+17,8
@@
# Be verbose
set -x
+[ "$PLC_HOSTS_ENABLED" -ne 1 ] && exit 0
+
case "$1" in
start)
MESSAGE=$"Generating network files"
@@
-51,6
+53,7
@@
case "$1" in
if [ -f /etc/hosts_plc.backup ] ; then
mv -f /etc/hosts_plc.backup /etc/hosts
fi
+ dialog "$MESSAGE"
result "$MESSAGE"
;;
esac