#!/bin/sh case "$2" in up) /etc/rc.d/network ifup $1 ;; down) /etc/rc.d/network ifdown $1 ;; *) echo "Wrong arguments" > /dev/stderr ;; esac