#!/bin/sh

LAPTOP_MODE='/usr/sbin/laptop_mode'

if [ -x $LAPTOP_MODE ]; then
    [ -f /etc/default/laptop-mode ] && . /etc/default/laptop-mode
    if [ x$ENABLE_LAPTOP_MODE != xfalse ]; then
       $LAPTOP_MODE auto
    fi
fi

