void-packages/srcpkgs/pm-utils/INSTALL
2015-06-02 12:40:05 +02:00

9 lines
185 B
Text

case "$ACTION" in
post)
if [ -d usr/sbin -a ! -L usr/sbin ]; then
for f in hibernate powersave suspend suspend-hybrid; do
ln -sfr usr/bin/pm-$f usr/sbin/pm-$f
done
fi
;;
esac