summaryrefslogtreecommitdiff
path: root/system/mdevd/mdevd.initd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 17:08:32 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 17:08:32 +0000
commit62a975395c67cb610859153c6d66af532f9b0be0 (patch)
treeae621ae078c34968ab5748391f545bfb33e0f2dc /system/mdevd/mdevd.initd
parent1b2ef13527aba504bbf7e86d57366f91da0d97d6 (diff)
downloadpackages-62a975395c67cb610859153c6d66af532f9b0be0.tar.gz
packages-62a975395c67cb610859153c6d66af532f9b0be0.tar.bz2
packages-62a975395c67cb610859153c6d66af532f9b0be0.tar.xz
packages-62a975395c67cb610859153c6d66af532f9b0be0.zip
system/mdevd: upgrade to 0.1.6.1
Diffstat (limited to 'system/mdevd/mdevd.initd')
-rw-r--r--system/mdevd/mdevd.initd10
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 $?
}