functions: move add_udev_rule() from systemd hook
Created by: eworm-de
This function can be used for setups with systemd in initramfs (hook
systemd
) or without (hook udev
). To avoid code duplication move
the code here.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Created by: eworm-de
This function can be used for setups with systemd in initramfs (hook
systemd
) or without (hook udev
). To avoid code duplication move
the code here.