Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
ln -s ../services-available/ipif /etc/userv/services.d/ipif
END
+ in- $cs hippotat-setup-permissions $cs
+
configure-$cs
}
configure-client () {
- in- client bash -xe <<'ENDC'
- dd of=/etc/userv/ipif-access/hippo-client <<END
-permit group _hippotat ifname hippo%d hostnet 192.0.2.3/24
-END
-ENDC
+ :
}
configure-server () {
- in- server bash -xe <<'ENDS'
- f=/etc/authbind/byport/80
- touch $f
- chgrp _hippotat $f
- chmod 554 $f
-
- dd of=/etc/userv/ipif-access/hippo-server <<END
-permit group _hippotat ifname shippo%d hostnet 192.0.2.1/24
-END
-ENDS
+ :
}
setup-host () {