wok-next view busybox/stuff/zcip.script @ rev 1270

udev: fix files path change
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 18 13:42:38 2008 +0200 (2008-08-18)
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