wok-6.x view busybox/stuff/zcip.script @ rev 1290

Add slitaz-loram-http
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 11:00:26 2008 +0000 (2008-08-21)
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