Files
linamh/net-misc/ipx-utils/files/ipx.init
Mario Fetka a1490efb03 add samples
2026-04-19 23:08:28 +02:00

28 lines
671 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# IPX network setup service
#
# Configuration is read from /etc/conf.d/ipx.
# The actual start/stop logic is implemented in helper scripts under
# /usr/libexec/ipx/ so that OpenRC and systemd can share the same code.
description="Configure IPX interfaces and automatic IPX behaviour"
depend() {
use net
}
start() {
ebegin "Bringing IPX up"
/usr/libexec/ipx/network-start.sh
eend $? "Failed to bring IPX up"
}
stop() {
ebegin "Bringing IPX down"
/usr/libexec/ipx/network-stop.sh
eend $? "Failed to bring IPX down"
}