You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- #!/bin/sh
-
- if [ -z "$1" ] || [ -z "$2" ] ; then
- echo "Wrong arguments"
- exit 1
- fi
-
- [ "$2" = "up" ] && exec udhcpc -i $1
-
- if [ "$2" = "down" ] ; then
- ifconfig $1 down
- fi
|