User Tools

Site Tools


en:linux:scripts:91resume_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:linux:scripts:91resume_settings [2010/01/29 18:08] (current)
Line 1: Line 1:
 +===== /​etc/​pm/​sleep.d/​91resume_settings =====
 +
 +Script to restore settings after suspend.
 +
 +<​code>​
 +#!/bin/bash
 +
 +case $1 in
 +    thaw|resume)
 + logger "​Restoring settings during $1"
 + /​home/<​username>/​bin/​sl both
 + syndaemon -i 2 &
 +        ;;
 +esac
 +</​code>​
  
en/linux/scripts/91resume_settings.txt · Last modified: 2010/01/29 18:08 (external edit)