2 # Begin $network-devices/services/ipx
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>
8 .
/etc
/sysconfig
/rc ||
exit
9 .
$rc_functions ||
exit
10 .
$network_devices/ifconfig.
$1
14 echo "Setting up the IPX protocol on $IPXDEV"
15 /sbin
/ifconfig
$IPXDEV up
> /dev
/null
16 /bin
/ipx_interface add
$IPXDEV $FRAME &&
17 /bin
/ipx_configure
--auto_interface=on
--auto_primary=on
22 echo "Stopping IPX on the $IPXDEV interface..."
23 /bin
/ipx_configure
--auto_interface=off
--auto_primary=off
&&
24 /bin
/ipx_interface del
$IPXDEV $FRAME
29 echo echo "Usage: $0 [interface] {up|down}"
35 # End $network-devices/services/ipx