Handbook Talk:Parts/Networking/Extending

patch to avoid "duplicate arguments in template calls"
@@ -34,7 +34,7 @@  # Test for link on the interface prior to bringing it up. This # only works on some network adapters and requires the ethtool # package to be installed. - if ethtool ${IFACE} | grep -q 'Link detected: no'; then + if ethtool ${IFACE} | grep -q 'Link detected: no'; then ewarn "No link on ${IFACE}, aborting configuration" return 1 fi @@ -111,8 +111,8 @@ # being connected to then we run the CISCO LEAP script local user pass - eval user=\"\$\{leap_user_${ESSIDVAR}\}\" - eval pass=\"\$\{leap_pass_${ESSIDVAR}\}\" + eval user=\"\$\{leap_user_${ESSIDVAR}\}\" + eval pass=\"\$\{leap_pass_${ESSIDVAR}\}\" if -n ${user} && -n ${pass} ; then if ! -x /opt/cisco/bin/leapscript ; then @@ -120,7 +120,7 @@      return 1 fi    einfo "Waiting for LEAP Authentication on \"${ESSID//\\\\//}\"" -   if /opt/cisco/bin/leapscript ${user} ${pass} | grep -q 'Login incorrect'; then +   if /opt/cisco/bin/leapscript ${user} ${pass} | grep -q 'Login incorrect'; then ewarn "Login Failed for ${user}" return 1 fi --Cronolio (talk) 07:56, 20 October 2016 (UTC)