On some laptops it is important to re-open /dev/psm after resume. moused(8)
was capable to do this upon SIGHUP for more than a decade. Automate this via rc.resume in default installation.
This commit is contained in:
parent
3c93d4433f
commit
4ccbfb3f84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227528
@ -49,6 +49,10 @@ if [ -r /var/run/rc.suspend.tch ]; then
|
||||
/bin/rm -f /var/run/rc.suspend.tch
|
||||
fi
|
||||
|
||||
if [ -r /var/run/moused.pid ]; then
|
||||
kill -HUP `head -1 /var/run/moused.pid`
|
||||
fi
|
||||
|
||||
# Turns on a power supply of a card in the slot inactivated.
|
||||
# See also contrib/pccardq.c (only for PAO users).
|
||||
# pccardq | awk -F '~' '$5 == "inactive" \
|
||||
|
Loading…
Reference in New Issue
Block a user