From: Mark Wooding Date: Mon, 19 Apr 2010 21:01:00 +0000 (+0100) Subject: init: Add some rudimentary support for SLIP interfaces. X-Git-Tag: 1.0.0pre8~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/1cecc933ef30ed6e1db569043a835188b34180b9?ds=sidebyside init: Add some rudimentary support for SLIP interfaces. This isn't strictly necessary, but it's probaby good form for those systems which aren't as fortunate. --- diff --git a/init/tripe.conf b/init/tripe.conf index daa42ad4..a2772076 100644 --- a/init/tripe.conf +++ b/init/tripe.conf @@ -71,3 +71,17 @@ ## `./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=