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.
|
#!/bin/sh |
|
for i in /net.*.dhcp; do |
|
dev=${i#net.}; dev=${i%.dhcp} |
|
[ -f "/net.$dev.up" ] && continue |
|
dhclient -1 -q $dev & |
|
done |
|
wait |
|
|