Am 08.04.2014 12:36, schrieb Michael Biebl:

> # copy the rules generated before / was mounted read-write
> for file in /dev/.udev/tmp-rules--* /run/udev/tmp-rules--*; do
>   dest=${file##*tmp-rules--}
>   [ "$dest" = '*' ] && continue
>   cat $file >> /etc/udev/rules.d/$dest
>   rm -f $file
> done

I'll probably stick this code into a small helper script
/lib/udev/copy-generated-rules and make the Upstart job, SysV init
script and the systemd service file just call that script.

Seems more sensible then copying it thrice.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to