1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/ifstate/ifstate.initd
2020-06-10 20:11:02 +00:00

24 lines
328 B
Text

#!/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
}