chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugfix: -fno-strict-aliasing, because tun.c breaks the rules.
[secnet.git]
/
debian
/
init
diff --git
a/debian/init
b/debian/init
index 75c21af60c4760be3690e05503b80692bd0875fc..18c273ab3e3345cbeb454fdab8e9150dfd78867f 100644
(file)
--- a/
debian/init
+++ b/
debian/init
@@
-20,8
+20,9
@@
DESC="VPN server"
test -f $DAEMON || exit 0
test -f /etc/secnet/secnet.conf || exit 0
+test -f /etc/default/secnet && . /etc/default/secnet
-set -e
+[ "X$RUN_SECNET" = "Xyes" ] || exit 0
case "$1" in
start)