debian/nut-server.postinst: The udevd process is called systemd-udevd for quite sometimes already, properly detect whether it's running or not, this should fix the devices permissions for USB UPS's (LP: #1540008)
This commit is contained in:
parent
21b0ce7971
commit
d31c6dcb9b
2 changed files with 9 additions and 1 deletions
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -1,3 +1,11 @@
|
||||||
|
nut (2.7.4-6) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* debian/nut-server.postinst: The udevd process is called systemd-udevd for
|
||||||
|
quite sometimes already, properly detect whether it's running or not, this
|
||||||
|
should fix the devices permissions for USB UPS's (LP: #1540008)
|
||||||
|
|
||||||
|
-- Laurent Bigonville <bigon@debian.org> Thu, 26 Jan 2017 09:05:15 +0100
|
||||||
|
|
||||||
nut (2.7.4-5) unstable; urgency=medium
|
nut (2.7.4-5) unstable; urgency=medium
|
||||||
|
|
||||||
* debian/control: Build-depends against asciidoc-dblatex, Recommends are not
|
* debian/control: Build-depends against asciidoc-dblatex, Recommends are not
|
||||||
|
|
2
debian/nut-server.postinst
vendored
2
debian/nut-server.postinst
vendored
|
@ -64,7 +64,7 @@ case "$1" in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ask udev to check for new udev rules
|
# ask udev to check for new udev rules
|
||||||
[ -x /etc/init.d/udev ] && pidof udevd > /dev/null \
|
[ -x /etc/init.d/udev ] && pidof systemd-udevd > /dev/null \
|
||||||
&& udevadm trigger --subsystem-match=usb --action=change
|
&& udevadm trigger --subsystem-match=usb --action=change
|
||||||
|
|
||||||
# 557178 udevadm trigger --subsystem-match=usb
|
# 557178 udevadm trigger --subsystem-match=usb
|
||||||
|
|
Loading…
Reference in a new issue