mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
24 lines
328 B
Text
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
|
|
}
|