diff options
author | Lassulus <lassulus@googlemail.com> | 2012-12-22 00:06:17 +0100 |
---|---|---|
committer | Lassulus <lassulus@googlemail.com> | 2012-12-22 00:06:17 +0100 |
commit | 9f86a2913b7a3fedd7789da22c338d0aee2acffe (patch) | |
tree | c5d0a4f0e01be72a0682da0dbda36b6c3ec87c80 /retiolum | |
parent | 62b9254d0a3dc4d3100840ac7b21b6c60d730834 (diff) |
added openwrt images for tl-wr703n
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/openwrt/tinc-up | 19 | ||||
-rwxr-xr-x | retiolum/openwrt/updater | 6 |
2 files changed, 0 insertions, 25 deletions
diff --git a/retiolum/openwrt/tinc-up b/retiolum/openwrt/tinc-up deleted file mode 100755 index 3b8bb978..00000000 --- a/retiolum/openwrt/tinc-up +++ /dev/null @@ -1,19 +0,0 @@ -# source: krebscode/painload/retiolum/scripts/tinc_setup/tinc-up - -dirname="`dirname "$0"`" - -conf=$dirname/tinc.conf - -name=`sed -n 's|^ *Name *= *\([^ ]*\) *$|\1|p' $conf` - -host=$dirname/hosts/$name - -addr4=`sed -n 's|^ *Subnet *= *\(10[.][^ ]*\) *$|\1|p' $host` -if [ "$addr4" != '' ];then - ifconfig $INTERFACE $addr4 - route add -net 10.243.0.0 netmask 255.255.0.0 dev retiolum -else - addr4=`sed -n 's|^ *Subnet *= *\(42[.][^ ]*\) *$|\1|p' $host` - ifconfig $INTERFACE $addr4 - route add -net 42.0.0.0 netmask 255.0.0.0 dev retiolum -fi diff --git a/retiolum/openwrt/updater b/retiolum/openwrt/updater deleted file mode 100755 index 4dbc7d78..00000000 --- a/retiolum/openwrt/updater +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -cd /etc/tinc/retiolum/hosts -wget http://vpn.miefda.org/hosts.tar.gz -tar xzf hosts.tar.gz -rm hosts.tar.gz -tincd -n retiolum -kHUP |