summaryrefslogtreecommitdiff
path: root/apmd/apmd-3.2.2/apmwrapper
blob: 64e02d408b9f071dff8c4924e9eaa68df45e8eee (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if ( uname -r | grep -q embedix ) && \
   [ ".$@" = ".-s" -o ".$@" = ".--suspend" ]; then
	killall -USR1 apmd || /usr/bin/apm.orig -s
else
	/usr/bin/apm.orig "$@"
fi