chiark / gitweb /
init: Add some rudimentary support for SLIP interfaces.
[tripe] / init / tripe.conf
index daa42ad41d84a23f6ebd7e225b3c2b0b881c9a1b..a2772076c14f49cb0ddf4eec4711798f3e2af44a 100644 (file)
 ## `./tripectl.pid' (relative to $TRIPEDIR).
 ##
 #pidfile=/var/run/tripectl.pid
+
+## How to open SLIP interfaces.  The value is a sequece of zero or more
+## static allocations, followed optionally by the name of a dynamic
+## allocation script, all separated by colons.  A static allocation has the
+## form `INFD[,OUTFD]=IFNAME', declaring that the interface IFNAME can be
+## read from file descriptor INFD and written from file descriptor OUTFD
+## (defaults to the same as INFD).  The dynamic allocation script name must
+## begin with `/' or `.' (interpreted relative to $TRIPEDIR); the script must
+## write an interface name to standard output followed by a newline, and
+## thereafter speak SLIP over standard input/output; stdin will be closed
+## (and the script process sent SIGTERM) when the interface is no longer
+## needed.
+##
+#TRIPE_SLIPIF=