Browse Source

[stone] Improved network interface detection.

early
Nagy Karoly Gabriel 17 years ago
parent
commit
07bb87d9cb
  1. 5
      base/stone/stone_mod_network.sh

5
base/stone/stone_mod_network.sh

@ -274,9 +274,8 @@ main() {
# read global section and interface list ... # read global section and interface list ...
read_section "" read_section ""
p_interfaces=$(ip link | egrep '[^:]*: .*' | \ p_interfaces=$(ip -o link | \
sed 's/[^:]*: \([a-z0-9]*\): .*/\1/' | \ sed -n -e 's|^[0-9]*: \([^:]*\):.*link/ether.*|\1|p' )
grep -v -e lo -e sit)
if [ $first_run = 1 ] ; then if [ $first_run = 1 ] ; then
first_run=0 first_run=0

Loading…
Cancel
Save