archrelease: copy trunk to extra-x86_64
[arch-packages.git] / systemd / trunk / initcpio-hook-udev
blobea9a11f8ce871255cb6ab38686b00c932498a255
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 /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never
7 udevd_running=1
10 run_hook() {
11 msg ":: Triggering uevents..."
12 udevadm trigger --action=add --type=subsystems
13 udevadm trigger --action=add --type=devices
14 udevadm settle
17 run_cleanuphook() {
18 udevadm control --exit
19 udevadm info --cleanup-db
22 # vim: set ft=sh ts=4 sw=4 et: