Files
eudev/SL/usher
2020-08-23 20:58:45 -05:00

22 lines
268 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
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac