blob: fdcae1136a613476b5dc479a31d19bfa8c7febdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
echo "running post install triggers"
if [[ $(systemctl is-enabled udevmon.service | grep disabled) ]]; then
systemctl enable udevmon.service
echo enabled udevmon.service
fi
echo "restarting udevmon.service"
systemctl restart udevmon.service
}
post_upgrade() {
echo "running post upgrade triggers"
systemctl restart udevmon.service
echo "restarting udevmon.service"
}
|