diff options
Diffstat (limited to 'system/mdevd/mdevd.initd')
-rw-r--r-- | system/mdevd/mdevd.initd | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/mdevd/mdevd.initd b/system/mdevd/mdevd.initd index 28c34b796..e9dff025f 100644 --- a/system/mdevd/mdevd.initd +++ b/system/mdevd/mdevd.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2019-2021 Adélie Linux +# Copyright 2019-2023 Adélie Linux description="mdevd manages device permissions and symbolic links in /dev" extra_started_commands="reload" @@ -17,19 +17,17 @@ depend() stop() { ebegin "Stopping mdevd" - touch /run/service/mdevd/down - s6-svc -d /run/service/mdevd + s6-svc -D /run/service/mdevd eend $? } start() { ebegin "Starting mdevd" - rm -f /run/service/mdevd/down - s6-svc -uwU /run/service/mdevd + s6-svc -UwU /run/service/mdevd eend $? ebegin "Coldplugging devices" - mdevd-coldplug + mdevd-coldplug -O4 eend $? } |