#!/bin/sh # Coova Chilli - David Bird # Licensed under the GPL, see http://coova.org/ # down.sh /dev/tun0 192.168.0.10 255.255.255.0 TUNTAP=$(basename $DEV) UNDO_FILE=@VARRUN@/chilli.$TUNTAP.sh . @SYSCONFDIR@/chilli/functions [ -e "$UNDO_FILE" ] && sh $UNDO_FILE 2>/dev/null rm -f $UNDO_FILE 2>/dev/null # site specific stuff optional [ -e @SYSCONFDIR@/chilli/ipdown.sh ] && . @SYSCONFDIR@/chilli/ipdown.sh