From 1cecc933ef30ed6e1db569043a835188b34180b9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 19 Apr 2010 22:01:00 +0100 Subject: [PATCH] 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. --- init/tripe.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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= -- 2.11.0