mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 20:46:41 +02:00
This adds an openrc init script for saving and restoring rfkill state for devices on stop/start. It is based on a similar init script for alsa-utils.
13 lines
321 B
Bash
13 lines
321 B
Bash
# RESTORE_ON_START:
|
|
# Do you want to apply rfkill device configuration on startup?
|
|
# no - Do not restore configuration
|
|
# yes - Restore configuration
|
|
|
|
RESTORE_ON_START="yes"
|
|
|
|
# SAVE_ON_STOP:
|
|
# Do you want to save rfkill device configuration?
|
|
# no - Do not save configuration
|
|
# yes - Save configuration
|
|
|
|
SAVE_ON_STOP="yes"
|