cvs commit: LFS/bootscripts/blfs/sysconfig/network-devices/services dhclient dhcpcd ipx pppoe

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Fri Mar 19 22:01:09 PST 2004


nathan      04/03/19 23:01:09

  Modified:    bootscripts CHANGELOG Makefile
  Added:       bootscripts/blfs/sysconfig/network-devices/services dhclient
                        dhcpcd ipx pppoe
  Removed:     bootscripts/blfs/init.d adsl
  Log:
  Just adding the last of the services
  
  Revision  Changes    Path
  1.34      +2 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- CHANGELOG	20 Mar 2004 04:38:18 -0000	1.33
  +++ CHANGELOG	20 Mar 2004 06:01:09 -0000	1.34
  @@ -10,6 +10,8 @@
   	* BLFS Scripts Added,  collected by Zack
   	* Edited killproc, so it checks for running pids, rather then
   	  the completion of the above kill command.  Suggested by Zack
  +	* Added network services found in blfs, removed adsl.  Submitted by
  +	  DJ.
   
   1.99.4 - March 17, 2004
   
  
  
  
  1.13      +15 -11    LFS/bootscripts/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/Makefile,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Makefile	20 Mar 2004 04:44:04 -0000	1.12
  +++ Makefile	20 Mar 2004 06:01:09 -0000	1.13
  @@ -6,6 +6,7 @@
   create-dirs:
   	install -d -m 755 ${EXTDIR}/rc.d/rc{0,1,2,3,4,5,6,sysinit}.d
   	install -d -m 755 ${EXTDIR}/rc.d/init.d
  +	install -d -m 755 ${EXTDIR}/sysconfig/network-devices/services
   
   install: create-dirs
   	install -m 754 lfs/init.d/checkfs      ${EXTDIR}/rc.d/init.d/
  @@ -57,21 +58,24 @@
   	ln -s ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S60setclock
   	ln -s ../init.d/loadkeys    ${EXTDIR}/rc.d/rcsysinit.d/S70loadkeys
   	ln -s ../init.d/localnet    ${EXTDIR}/rc.d/rcsysinit.d/S80localnet
  -	install -d -m 755 ${EXTDIR}/sysconfig/network-devices/services
   	install -m 644 lfs/sysconfig/rc                              ${EXTDIR}/sysconfig/
   	install -m 754 lfs/sysconfig/network-devices/ifup            ${EXTDIR}/sysconfig/network-devices
   	install -m 754 lfs/sysconfig/network-devices/ifdown          ${EXTDIR}/sysconfig/network-devices
   	install -m 754 lfs/sysconfig/network-devices/services/static ${EXTDIR}/sysconfig/network-devices/services
   
  -install-adsl: create-dirs
  -	install -m 754 blfs/init.d/adsl       ${EXTDIR}/rc.d/init.d/
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc0.d/K49adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc1.d/K49adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc2.d/K49adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc3.d/S24adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc4.d/S24adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc5.d/S24adsl
  -	ln -s  ../init.d/adsl ${EXTDIR}/rc.d/rc6.d/K49adsl
  +
  +install-service-dhclient: create-dirs
  +	install -m 754 blfs/sysconfig/network-devices/services/dhclient ${EXTDIR}/sysconfig/network-devices/services
  +
  +install-service-dhcpcd: create-dirs
  +	install -m 754 blfs/sysconfig/network-devices/services/dhcpcd   ${EXTDIR}/sysconfig/network-devices/services
  +
  +install-service-ipx: create-dirs
  +	install -m 754 blfs/sysconfig/network-devices/services/ipx      ${EXTDIR}/sysconfig/network-devices/services
  +
  +install-service-pppoe: create-dirs
  +	install -m 754 blfs/sysconfig/network-devices/services/pppoe    ${EXTDIR}/sysconfig/network-devices/services
  +
   
   install-alsa: create-dirs
   	install -m 754 blfs/init.d/alsa       ${EXTDIR}/rc.d/init.d/
  @@ -323,4 +327,4 @@
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc5.d/S23xinetd
   	ln -s  ../init.d/xinetd ${EXTDIR}/rc.d/rc6.d/K49xinetd
   
  -.PHONY: install install-adsl install-alsa install-apache install-bind install-cups install-dhcp install-exim install-fcron install-gdm install-gpm install-lprng install-mysql install-netfs install-nfs-client install-nfs-server install-ntp install-portmap install-postfix install-postgresql install-proftpd install-random install-rsync install-samba install-sendmail install-sshd install-xinetd
  +.PHONY: install install-alsa install-apache install-bind install-cups install-dhcp install-exim install-fcron install-gdm install-gpm install-lprng install-mysql install-netfs install-nfs-client install-nfs-server install-ntp install-portmap install-postfix install-postgresql install-proftpd install-random install-rsync install-samba install-sendmail install-sshd install-xinetd
  
  
  
  1.1                  LFS/bootscripts/blfs/sysconfig/network-devices/services/dhclient
  
  Index: dhclient
  ===================================================================
  #!/bin/sh
  # Begin $network-devices/services/dhclient
                                                                                  
  # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
  # Rewritten by Nathan Coulson <nathan at linuxfromscratch.org>
  # Adapted for dhclient by DJ Lucas <dj at lucasit.com>
  
  . /etc/sysconfig/rc
  . $rc_functions
  . $network_devices/ifconfig.$1
                                                                                  
  case "$2" in
          up)
                  echo "Bringing up the $1 interface (dhclient)..."
                  /sbin/dhclient $1 $DHCP_START
                  evaluate_retval
          ;;
                                                                                  
          down)
                  echo "Bringing down the $1 interface (dhclient)..."
                  /sbin/dhclient $1 $DHCP_STOP
                  evaluate_retval
          ;;
                                                                                  
          *)
                  echo "Usage: $0 [interface] {up|down}"
                  exit 1
          ;;
  esac
                                                                                  
  # End $network_devices/services/dhclient
  
  
  
  1.1                  LFS/bootscripts/blfs/sysconfig/network-devices/services/dhcpcd
  
  Index: dhcpcd
  ===================================================================
  #!/bin/sh
  # Begin $network-devices/services/dhcpcd
                                                                                  
  # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
  # Rewritten by Nathan Coulson <nathan at linuxfromscratch.org>
  # Adapted for dhcpcd by DJ Lucas <dj at lucasit.com>
  
  . /etc/sysconfig/rc
  . $rc_functions
  . $network_devices/ifconfig.$1
                                                                                  
  case "$2" in
          up)
                  echo "Bringing up the $1 interface (dhcpcd)..."
                  /sbin/dhcpcd $1 $DHCP_START
                  evaluate_retval
          ;;
                                                                                  
          down)
                  echo "Bringing down the $1 interface (dhcpcd)..."
                  /sbin/dhcpcd $1 $DHCP_STOP
                  evaluate_retval
          ;;
                                                                                  
          *)
                  echo "Usage: $0 [interface] {up|down}"
                  exit 1
          ;;
  esac
                                                                                  
  # End $network_devices/services/dhcpcd
  
  
  
  1.1                  LFS/bootscripts/blfs/sysconfig/network-devices/services/ipx
  
  Index: ipx
  ===================================================================
  #!/bin/sh
  # Begin $network-devices/services/ipx
  
  # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
  # Rewritten by Nathan Coulson <nathan at linuxfromscratch.org>
  # Adapted for ipx by DJ Lucas <dj at lucasit.com>
  
  . /etc/sysconfig/rc || exit
  . $rc_functions || exit
  . $network_devices/ifconfig.$1
  
  case $2 in
          up)
                  echo "Setting up the IPX protocol on $IPXDEV"
                  /bin/ipx_interface add $IPXDEV $FRAME &&
                  /bin/ipx_configure --auto_interface=on --auto_primary=on
                  evaluate_retval
          ;;
  
          down)
                  echo "Stopping IPX on the $IPXDEV interface..."
                  /bin/ipx_configure --auto_interface=off --auto_primary=off &&
                  /bin/ipx_interface del $IPXDEV $FRAME
                  evaluate_retval
          ;;
  
          *)
                  echo echo "Usage: $0 [interface] {up|down}"
                  exit 1
          ;;
  
  esac
  
  # End $network-devices/services/ipx
  
  
  
  1.1                  LFS/bootscripts/blfs/sysconfig/network-devices/services/pppoe
  
  Index: pppoe
  ===================================================================
  #!/bin/sh
  # Begin $network_devices/services/pppoe
  
  # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
  # Rewritten by Nathan Coulson <nathan at linuxfromscratch.org>
  # Adapted for pppoe by DJ Lucas <dj at lucasit.com>
  
  . /etc/sysconfig/rc
  . $rc_functions
  . $network_devices/ifconfig.$1
  
  case "$2" in
          up)
                  echo "Bringing up the ADSL interface..."
                  /usr/sbin/adsl-start
                  evaluate_retval
          ;;
  
          down)
                  echo "Bringing down the ADSL interface..."
                  /usr/sbin/adsl-stop
                  evaluate_retval
          ;;
  
          *)
                  echo "Usage: $0 {up|down}"
                  exit 1
          ;;
  esac
  
  # End $network_devices/services/pppoe
  
  
  



More information about the lfs-book mailing list