archrelease: copy trunk to extra-x86_64
[arch-packages.git] / systemd / trunk / initcpio-hook-udev
blobdfa875067ee3d9a4dd187ae19d455bf61c427b41
1 #!/usr/bin/ash
3 run_earlyhook() {
4 kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
5 systemd-tmpfiles --prefix=/dev --create --boot
6 if [ "${quiet}" = "y" ]; then
7 /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never >/dev/null 2>&1
8 else
9 /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never
11 udevd_running=1
14 run_hook() {
15 msg ":: Triggering uevents..."
16 udevadm trigger --action=add --type=subsystems
17 udevadm trigger --action=add --type=devices
18 udevadm settle
21 run_cleanuphook() {
22 udevadm control --exit
23 udevadm info --cleanup-db
26 # vim: set ft=sh ts=4 sw=4 et: