Am 28.02.2015 um 09:30 schrieb Chris: > A draft for such a central systemd unit file: > > [Unit] > Description=Trigger all block device udev rules on resume, to re-apply all > non-permanent device settings (e.g. smartctl and hdparm rules). > After=suspend.target After=hibernate.target > After=hybrid-sleep.target
This does not work. Ordering After=foo.target does *not* guarantee that the service is run on resume. I already mentioned that, when a similar file was added to anacron [1]. Unfortunately it was applied anyway and now this file is copied over and over again and posted to various bug reports. Michael [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744753#124 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature