@@ -0,0 +1,21 @@
#!/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
prerm)
postrm)
esac
The note is not visible to the blocked user.