summarylogtreecommitdiffstats
path: root/build.install
blob: e09a1ac13d4bec359d67745b3cacb5fb3d1a13ae (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# because the permission and group of /proc/acpi/call will be reset after reboot, we add this hook also in udev rule

post_install() {
    sudo /usr/bin/chgrp wheel /proc/acpi/call
    sudo /usr/bin/chmod g+w /proc/acpi/call
    sudo /usr/bin/udevadm control --reload-rules
    sudo /usr/bin/udevadm trigger
}