Files
extra/rp-pppoe/rp-pppoe.initd
2025-06-22 20:39:04 -05:00

29 lines
437 B
Plaintext

#!/sbin/openrc-run
# Copyright 2017-2022 Hyperbola Project
# Distributed under the terms of the GNU General Public License, v2 or later
description="RP-PPPoE service"
depend() {
need localmount
provide net
}
start() {
ebegin "Starting rp-pppoe"
/usr/sbin/pppoe-start
eend $?
}
status() {
ebegin "Getting rp-pppoe status"
/usr/sbin/pppoe-status
eend $?
}
stop() {
ebegin "Stopping rp-pppoe"
/usr/sbin/pppoe-stop
eend $?
}