Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] postup() syntax help

Grant

2008-04-14

Replies:

Author LoginPost Reply
I'm having trouble getting an iwconfig command to execute after the
wlan0 interface has started. The following executes after net.lo
starts but there is no message about it executing after net.wlan0
starts and the rate is not limited like it is when I execute the
command manually:

postup() {
  if [[ ${IFACE} = "wlan0" ]]; then
        iwconfig wlan0 rate 1M
  fi
  return 0
}

Does anyone see where I'm going wrong here?

- Grant
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.