No Description
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.

ifplugd.action 172B

12345678910111213
  1. #!/bin/sh
  2. if [ -z "$1" ] || [ -z "$2" ] ; then
  3. echo "Wrong arguments"
  4. exit 1
  5. fi
  6. [ "$2" = "up" ] && exec udhcpc -i $1
  7. if [ "$2" = "down" ] ; then
  8. ifconfig $1 down
  9. fi