* Removed modules from Should-Start in init script * Added udevadm hwdb --update to usher
24 lines
295 B
Bash
Executable File
24 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i \
|
|
/proc/1/root 2>/dev/null)" ]; then
|
|
/etc/init.d/udevd restart
|
|
fi
|
|
|
|
udevadm hwdb --update
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|