summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 16:45:54 +0200
committertv <tv@xso>2011-09-09 16:45:54 +0200
commit1bc1b54e445f2d48d8f4c2080240a0f4e94d0c96 (patch)
tree0e023a6a99e4bc9aed94082ecc7c677cb16da7dd
parentbd44e393c7fcc5d2f92a99a2d6b52f1815ebdb84 (diff)
//retiolum/bin/update_tinc_hosts: create magic implies [re]start
-rwxr-xr-xretiolum/bin/update_tinc_hosts1
1 files changed, 1 insertions, 0 deletions
diff --git a/retiolum/bin/update_tinc_hosts b/retiolum/bin/update_tinc_hosts
index 8cdc3beb..86a28992 100755
--- a/retiolum/bin/update_tinc_hosts
+++ b/retiolum/bin/update_tinc_hosts
@@ -29,6 +29,7 @@ case "${*-I am made of stupid}" in
;;
('create magic')
$0 has magic || $0 print magic >> $hosts < /dev/null
+ $0 start
;;
('destroy magic')
if $0 has magic; then