wok view busybox/stuff/zcip.script @ rev 937

busybox: add zcip stuff
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 23 15:15:07 2008 +0000 (2008-06-23)
parents
children b46a95b3d2ee
line source
1 #!/bin/sh
3 [ "$1" = "init" ] && exit 0
4 [ -n "$ip" ] || exit 1
5 case "$1" in
6 config) exec ifconfig $interface $ip netmask 255.255.0.0 up;;
7 deconfig) exec ifconfig $interface down;;
8 *) exit 1;;
9 esac