#!/bin/sh

[ -z  "$2" ] && gtk-update-icon-cache -f /usr/share/icons/hicolor

chmod a+x /etc/init.d/apmonitord

if [ -x "/etc/init.d/apmonitord" ]; then
  update-rc.d apmonitord start 60 2 3 5 . stop 20 0 6 . >/dev/null
  /etc/init.d/apmonitord start || exit $?
fi

exit 0
