aports/testing/ifstate/ifstate.initd
2020-06-10 20:11:02 +00:00

25 lines
328 B
Plaintext

#!/sbin/openrc-run
description="IfState"
depend() {
need localmount
after bootmisc hwdrivers modules
provide net
keyword -shutdown -stop -jail -prefix -vserver -docker
}
start() {
ebegin "Starting IfState"
ifstatecli apply
}
restart() {
ebegin "Restarting IfState"
ifstatecli apply
}
status() {
ifstatecli check
}