aboutsummaryrefslogtreecommitdiffstats
path: root/main/cjdns/cjdns.post-install
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-08-03 22:19:27 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-08-03 22:19:27 +0200
commit7670ab2037c66d586a1d8b8f8ff35792874540dd (patch)
tree64e60a398be2799ae9e8ea355e350497f40bb36f /main/cjdns/cjdns.post-install
parent74e83c00d524411a362cf8e1391e05b94edf3c83 (diff)
downloadaports-7670ab2037c66d586a1d8b8f8ff35792874540dd.tar.bz2
aports-7670ab2037c66d586a1d8b8f8ff35792874540dd.tar.xz
testing/cjdns: move to main
Diffstat (limited to 'main/cjdns/cjdns.post-install')
-rw-r--r--main/cjdns/cjdns.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/cjdns/cjdns.post-install b/main/cjdns/cjdns.post-install
new file mode 100644
index 0000000000..0e091e941c
--- /dev/null
+++ b/main/cjdns/cjdns.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+umask 007
+[ ! -f /etc/cjdroute.conf ] && \
+ cjdroute --genconf > /etc/cjdroute.conf