Changeset f42cce0


Ignore:
Timestamp:
02/08/2015 06:17:24 AM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
ad6b72b
Parents:
1e4a180
Message:

Update ifup and ipv4-static to better support multiple IP addresses
on an interface.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10838 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/ChangeLog

    r1e4a180 rf42cce0  
     12015-02-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
     2   * Modify ipv4-static to support ethernet labels
     3   * Output a newline if an interface is skipped during boot
     4
    152014-12-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    26   * Clarify rationale for sysklog run levels
  • bootscripts/lfs/lib/services/ipv4-static

    r1e4a180 rf42cce0  
    3535elif [ -n "${PEER}" ]; then
    3636   args="${args} ${IP} peer ${PEER}"
     37fi
     38
     39if [ -n "${LABEL}" ]; then
     40   args="${args} label ${LABEL}"
    3741fi
    3842
  • bootscripts/lfs/sbin/ifup

    r1e4a180 rf42cce0  
    9191if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then
    9292   log_info_msg2 "skipped"
     93   echo
    9394   exit 0
    9495fi
  • bootscripts/lfs/sbin/ifup.8

    r1e4a180 rf42cce0  
    4747
    4848                ONBOOT=no
    49                 IFACE=eth0:2
     49                IFACE=eth0
     50                LABEL=eth0:2
    5051                SERVICE=dhcpcd
    5152         
     
    123124                     specified, is 24.
    124125       
     126         LABEL     - The label to be assigned to the interface. 
     127                     This is normally specified for assigning
     128                     additional IP addresses to a network
     129                     device.  Example: eth0:2 (optional)
     130       
    125131         BROADCAST - The brodcast address for this interface,
    126132                     e.g 192.168.1.255.  If not specified,
     
    177183       ip(8).
    178184
    179 IFUP/IFDOWN                   8 April 2012                 ifup(8)
     185IFUP/IFDOWN                   8 February 2015                    ifup(8)
  • chapter01/changelog.xml

    r1e4a180 rf42cce0  
    4040      <itemizedlist>
    4141        <listitem>
     42          <para>[bdubbs] - Update ipv4-static, ifup, and ifup.8
     43          in bootscripts to better support multiple IP addresses
     44          on an interface.</para>
     45        </listitem>
     46        <listitem>
    4247          <para>[Chris] - Updated FHS URL to new location.</para>
    4348        </listitem>
  • packages.ent

    r1e4a180 rf42cce0  
    353353<!ENTITY less-ch6-sbu "0.1 SBU">
    354354
    355 <!ENTITY lfs-bootscripts-version "20141224">              <!-- Scripts depend on this format -->
     355<!ENTITY lfs-bootscripts-version "20150208">              <!-- Scripts depend on this format -->
    356356<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    357357<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
Note: See TracChangeset for help on using the changeset viewer.