Messages in this thread |  | | Date | Fri, 17 Jul 2009 16:24:37 -0300 | From | "Tomas M." <> | Subject | suspend script fails with 2.6.31, related to stdout? |
| |
a pm-suspend hook fails with 2.6.31 (which does not under 2.6.30). the error as follows: ---
/etc/pm/sleep.d/11netcfg resume suspend: /bin/stty: standard input: Inappropriate ioctl for device /bin/stty: standard input: Inappropriate ioctl for device :: Scanning for networks [BUSY] wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
wlan0 Interface doesn't support scanning : Network is down
/etc/rc.d/functions: line 99: printf: - : invalid option printf: usage: printf [-v var] format [arguments] [FAIL] --- ive been tracking down the script, and it all comes down to iwlist (which is used to scan for networks) which prints outputs to stdout. i dont know how to debug this any further.. does anyone have any idea?
|  |