mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
25 lines
328 B
Plaintext
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
|
|
}
|