Ignore:
Timestamp:
09/20/2021 07:37:34 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
60870bc
Parents:
e680022 (diff), 7e62bbc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge upstream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/sbin/ifup

    re680022 r716db1f  
    4949
    5050      --version | -V)  echo "${VERSTR}"; exit 0 ;;
    51    
     51
    5252      -*)              echo "ifup: ${1}: invalid option" >&2
    5353                       echo "${USAGE}" >& 2
    5454                       exit 2 ;;
    55                        
     55
    5656      *)               break ;;
    5757   esac
     
    103103for S in ${SERVICE}; do
    104104  if [ ! -x "/lib/services/${S}" ]; then
    105     MSG="\nUnable to process ${file}.  Either " 
     105    MSG="\nUnable to process ${file}.  Either "
    106106    MSG="${MSG}the SERVICE '${S} was not present "
    107107    MSG="${MSG}or cannot be executed."
     
    114114
    115115# Create/configure the interface
    116 for S in ${SERVICE}; do 
     116for S in ${SERVICE}; do
    117117  IFCONFIG=${file} /lib/services/${S} ${IFACE} up
    118118done
     
    129129if test -n "${MTU}"; then
    130130   if [[ ${MTU} =~ ^[0-9]+$ ]] && [[ $MTU -ge 68 ]] ; then
    131       for I in $IFACE $INTERFACE_COMPONENTS; do 
    132          ip link set dev $I mtu $MTU; 
     131      for I in $IFACE $INTERFACE_COMPONENTS; do
     132         ip link set dev $I mtu $MTU;
    133133      done
    134134   else
    135135      log_info_msg2 "Invalid MTU $MTU"
    136136   fi
    137 fi 
     137fi
    138138
    139139# Set the route default gateway if requested
Note: See TracChangeset for help on using the changeset viewer.