diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-11 05:01:59 +0000 |
---|---|---|
committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-11 05:01:59 +0000 |
commit | 96365c0cf1e0e3ff852e0ec496702b856f64dfbd (patch) | |
tree | 12201b94d293d2d9449fe629d8d45e4445fa1400 /rc.inet1 | |
parent | 63ee3db06be3f43ca63873e75f28cd2223bcfa32 (diff) | |
download | slacknetsetup-96365c0cf1e0e3ff852e0ec496702b856f64dfbd.tar.xz |
Fix typo when de-configuring interfaces, i->1.
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -434,7 +434,7 @@ if_down() { return fi info_log "${1}: de-configuring interface" - if [ -e /sys/class/net/${i%%[:.]*} ]; then + if [ -e /sys/class/net/${1%%[:.]*} ]; then if [ "${USE_DHCP[$i]}" = "yes" ] || [ "${USE_DHCP6[$i]}" = "yes" ]; then # take down dhcpcd info_log "${1}: stopping dhcpcd" # When using -k, dhcpcd requires some command line options to match those used to invoke it: |