mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-17 22:02:12 +01:00
18 lines
318 B
Bash
18 lines
318 B
Bash
#!/sbin/openrc-run
|
|
# Copyright 2022 Laurent Bercot for Alpine Linux
|
|
# Distributed under the terms of the ISC License.
|
|
|
|
description="coldplug trigger for mdevd"
|
|
|
|
depend() {
|
|
need mdevd
|
|
before checkfs fsck
|
|
keyword -containers -vserver -lxc
|
|
}
|
|
|
|
start() {
|
|
ebegin "Scanning hardware for mdevd"
|
|
mdevd-coldplug
|
|
eend $?
|
|
}
|