summaryrefslogtreecommitdiff
path: root/joeyconfig.hs
diff options
context:
space:
mode:
authorJoey Hess2017-07-26 20:40:54 -0400
committerJoey Hess2017-07-26 20:40:54 -0400
commitf085b7de029c9a9b73a65e837cce72067bd858c3 (patch)
tree8de0a44a8564e967363a974b6cd8fbd204daa7d4 /joeyconfig.hs
parent136b4d74c7deeff52c3c27754b68a8e81ef20863 (diff)
propellor spin
Diffstat (limited to 'joeyconfig.hs')
-rw-r--r--joeyconfig.hs16
1 files changed, 14 insertions, 2 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs
index fa435abc..cb2c3bc0 100644
--- a/joeyconfig.hs
+++ b/joeyconfig.hs
@@ -231,8 +231,20 @@ honeybee = host "honeybee.kitenet.net" $ props
, "nameserver 8.8.8.8"
, "nameserver 8.8.4.4"
]
- & JoeySites.ipmasq "eth0" "wlan0"
- & Apt.installed ["ppp", "mtr", "iftop", "git-annex", "screen"]
+ & JoeySites.ipmasq "wlan0"
+ & Apt.installed ["ppp"]
+ `before` File.hasContent "/etc/ppp/peers/provider"
+ [ "user \"joeyh@arczip.com\""
+ , "connect \"/usr/sbin/chat -v -f /etc/chatscripts/pap -T 9734111\""
+ , "/dev/ttyACM0"
+ , "115200"
+ , "noipdefault"
+ , "defaultroute"
+ , "persist"
+ , "noauth"
+ ]
+ `before` File.hasPrivContent "/etc/ppp/pap-secrets" (Context "joeyh@arczip.com")
+ & Apt.installed ["mtr", "iftop", "git-annex", "screen"]
& Postfix.satellite
-- Autobuild runs only on weekdays.