source: bootscripts-standard/cblfs/sysconfig/network-devices/services/ipx@ 7125722

Last change on this file since 7125722 was 7125722, checked in by Jim Gifford <clfs@…>, 17 years ago

Import of Bootscripts

  • Property mode set to 100644
File size: 1020 bytes
RevLine 
[7125722]1#!/bin/sh
2# Begin $network-devices/services/ipx
3
4# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
5# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
6# Adapted for ipx by DJ Lucas <dj@lucasit.com>
7
8#$LastChangedBy: bdubbs $
9#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
10
11. /etc/sysconfig/rc || exit
12. $rc_functions || exit
13. $IFCONFIG
14
15case $2 in
16 up)
17 boot_mesg "Starting IPX on the $1 interface..."
18 /bin/ipx_interface add $1 $FRAME &&
19 /bin/ipx_configure --auto_interface=on --auto_primary=on
20 evaluate_retval
21 ;;
22
23 down)
24 boot_mesg "Stopping IPX on the $1 interface..."
25 /bin/ipx_configure --auto_interface=off --auto_primary=off &&
26 /bin/ipx_interface del $1 $FRAME
27 evaluate_retval
28 ;;
29
30 *)
31 echo echo "Usage: $0 [interface] {up|down}"
32 exit 1
33 ;;
34
35esac
36
37# End $network-devices/services/ipx
Note: See TracBrowser for help on using the repository browser.