summaryrefslogtreecommitdiff
path: root/net-fs/ncpfs/files/ipx.init
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /net-fs/ncpfs/files/ipx.init
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'net-fs/ncpfs/files/ipx.init')
-rw-r--r--net-fs/ncpfs/files/ipx.init41
1 files changed, 0 insertions, 41 deletions
diff --git a/net-fs/ncpfs/files/ipx.init b/net-fs/ncpfs/files/ipx.init
deleted file mode 100644
index e4aa25716c5d..000000000000
--- a/net-fs/ncpfs/files/ipx.init
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#NB: Config is in /etc/conf.d/ipx
-
-depend() {
- need net netmount
-}
-
-start() {
- local retval=0
-
- ebegin "Bringing IPX up"
- if [ ${IPX_INTERNAL_NET} = "yes" ]
- then
- /usr/bin/ipx_internal_net add ${IPX_NETNUM} ${IPX_NODENUM}
- retval=$?
- else
- /usr/bin/ipx_interface add -p ${IPX_DEVICE} \
- ${IPX_FRAME} ${IPX_NETNUM}
- retval=$?
- fi
-
- /usr/bin/ipx_configure \
- --auto_primary=${IPX_AUTO_PRIMARY} \
- --auto_interface=${IPX_AUTO_INTERFACE}
- retval=$(( $retval + $? ))
- eend ${retval} "Failed to bring IPX up"
-}
-
-stop() {
- local retval=0
-
- ebegin "Bringing IPX down"
- /usr/bin/ipx_configure --auto_primary=off --auto_interface=off
- retval=$?
- /usr/bin/ipx_interface delall
- retval=$(( $retval + $? ))
- eend ${retval} "Failed to down IPX"
-}