]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Restore basename change.
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 31 Aug 2006 09:51:13 +0000 (09:51 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 31 Aug 2006 09:51:13 +0000 (09:51 +0000)
svn-id: @7693

sysconfig/network-scripts/ifup

index 09ba387434a733913da0e64ad056398f81cdeade..c7fe58496d9b34132d37f2b3f5bb26bc405f2f2d 100755 (executable)
@@ -165,7 +165,7 @@ if [ -n "$BOOTPROTO" -a "$BOOTPROTO" != "none" -a "$BOOTPROTO" != "static" ]; th
                DHCP_ARGS="$DHCP_OPTIONS $DHCP_ARGS"
 
                if check_link_down ${DEVICE}; then
-                       run_cmd "$(nls 'Determining IP information for %s (%s)' "$DEVICE" "$(basename $DHCP_CLIENT)")" /bin/false
+                       run_cmd "$(nls 'Determining IP information for %s (%s)' "$DEVICE" "${DHCP_CLIENT##*/}")" /bin/false
                        nls '%s: Check cable/radio on-off switch?' "$DEVICE"
                        exit 1
                fi
This page took 0.04245 seconds and 4 git commands to generate.