[BACK]Return to netstart CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/netstart between version 1.231 and 1.232

version 1.231, 2022/12/16 04:04:25 version 1.232, 2022/12/16 17:57:39
Line 140 
Line 140 
         if [[ $_if == +([[:alpha:]])+([[:digit:]]) ]]; then          if [[ $_if == +([[:alpha:]])+([[:digit:]]) ]]; then
                 _lladdr=$(ifconfig $_if 2>/dev/null |                  _lladdr=$(ifconfig $_if 2>/dev/null |
                     sed -n 's/^[[:space:]]*lladdr[[:space:]]//p')                      sed -n 's/^[[:space:]]*lladdr[[:space:]]//p')
                 if [[ -n $_lladdr && -f /etc/hostname.$_lladdr  && \                  if [[ -n $_lladdr && -f /etc/hostname.$_lladdr &&
                     -n $(ifconfig -M "$_lladdr") ]]; then                      -n $(ifconfig -M "$_lladdr") ]]; then
                         print -u2 "${0##*/}: $_hn: /etc/hostname.$_lladdr overrides"                          print -u2 "${0##*/}: $_hn: /etc/hostname.$_lladdr overrides"
                         return                          return

Legend:
Removed from v.1.231  
changed lines
  Added in v.1.232