Hi all,
After a long inactivity I upgraded basic packages. So now I have the latest network.sh which contains these changes: http://hg.slitaz.org/slitaz-boot-scripts/rev/f3e7c1cc6aef
I faced two problems:
1) Why call stop() from start()? Each time I boot this shuts down my Wifi card and starts it again right away, which adds a delay to the boot process; maybe does it wear off the card as well?
2) After commenting out "stop" in start(), I noticed there was still a delay before the "Configuring Wi-Fi..." message. I think this line:
[ "$WIFI" != 'yes' ] && ifconfig $INTERFACE up & sleep 5
should be changed into:
[ "$WIFI" != 'yes' ] && ( ifconfig $INTERFACE up & sleep 5 )
because I see no point in waiting when the conditional is false :-)
Cheers!