blob: cbefe543d6e54116d7365ad9490beb211ca28421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
ldconfig
udevadm control --reload-rules
systemctl daemon-reload
echo "You can start razerd.service with 'systemctl start razerd.service' or autostart it with 'systemctl enable razerd.service'."
}
post_upgrade() {
ldconfig
udevadm control --reload-rules
systemctl daemon-reload
echo "Please restart razerd.service!"
}
pre_remove() {
systemctl stop razerd.service
}
post_remove() {
udevadm control --reload-rules
systemctl daemon-reload
}
|