Changeset 0c5d002 for bootscripts


Ignore:
Timestamp:
08/05/2013 07:38:44 PM (11 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.4, 7.5, 7.6, 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:
232779f8
Parents:
466dae6
Message:

Update to linux-3.10.5
Fix bootscript ipv4-static-route

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

Location:
bootscripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/ChangeLog

    r466dae6 r0c5d002  
     12013-08-05 Bruce Dubbs <bdubbs@linuxfromscratch.org>
     2   * Use STATIC_GATEWAY for ipv4-static-route purposes
     3
    142013-05-15 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    25   * Remove unneeded options and commands from mountfs and
  • bootscripts/lfs/lib/services/ipv4-static-route

    r466dae6 r0c5d002  
    4444esac
    4545
     46if [ -n "${GATEWAY}" ]; then
     47   MSG="The GATEWAY variable cannot be set in ${IFCONFIG} for static routes.\n"
     48   log_failure_msg "$MSG Use STATIC_GATEWAY only, cannot continue"
     49   exit 1
     50fi
     51
    4652if [ -n "${need_ip}" ]; then
    4753   if [ -z "${IP}" ]; then
     
    6066
    6167if [ -n "${need_gateway}" ]; then
    62    if [ -z "${GATEWAY}" ]; then
    63       log_failure_msg "GATEWAY variable missing from ${IFCONFIG}, cannot continue."
     68   if [ -z "${STATIC_GATEWAY}" ]; then
     69      log_failure_msg "STATIC_GATEWAY variable missing from ${IFCONFIG}, cannot continue."
    6470      exit 1
    6571   fi
    66    args="${args} via ${GATEWAY}"
     72   args="${args} via ${STATIC_GATEWAY}"
    6773fi
    6874
  • bootscripts/lfs/sbin/ifup.8

    r466dae6 r0c5d002  
    100100                 route or on a local network, e.g., 192.168.1.1. 
    101101                 For secondary IP addresses on an interface, this
    102                  parameter should not be specified.
     102                 parameter should not be specified.  If the service
     103                 is ipv4-static-route, this parameter must NOT
     104                 be set.
     105
     106       STATIC_GATEWAY - The default IP address to use for routing
     107                 when setting a static routing address. 
    103108
    104109       INTERFACE_COMPONENTS - A list of component interfaces
     
    133138         PREFIX  -  The prefix for the associated IP address.
    134139
    135          GATEWAY - The IP address for a network route.
     140         STATIC_GATEWAY - The IP address for a network route.
    136141
    137142         SOURCE  -  The source IP address to prefer when sending
Note: See TracChangeset for help on using the changeset viewer.