#!/bin/bash

case "$1" in
  battery)
  ;;
  ac)
  ;;
  sleep)
    ifconfig eth0 down
  ;;
  wakeup)
    ifconfig eth0 up
  ;;
esac

exit 0
