File laptop-mode-tools.pm-utils-hook of Package laptop-mode-tools
#!/bin/bash # # integrate laptop-mode into pm-utils hook infrastructure . /usr/lib/pm-utils/functions case "$1" in true) echo "** start laptop-mode" laptop_mode start ;; false) echo "** stop laptop-mode" laptop_mode stop ;; *) ;; esac