https://bugzilla.novell.com/show_bug.cgi?id=644738
https://bugzilla.novell.com/show_bug.cgi?id=644738#c0
Summary: link_wait script just prints usage information when
activated
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: All
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: jochen.katz@de.thalesgroup.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.10)
Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10
When activating /etc/sysconfig/network/scripts/link_wait, it just prints out
its usage information because the initialization of SCRIPTNAME is wrong.
SCRIPTNAME has to be set to SCRIPTNAME=${0}.
SLES11 SP1 is also affected.
Additional thing that need improvement:
- There are a lot of calculations done with LINK_WAIT value. In the end it is
not bigger than WAIT_FOR_INTERFACES / 4. This is confusing for the user.
- The usage of ping should be replaced by fping, because the command "ping -I
eth0 -w 20 -c 1