PREUN
/bin/sh
if [ "$1" = "0" ]; then
/sbin/service bluetooth stop >/dev/null 2>&1
/sbin/service hidd stop >/dev/null 2>&1
/sbin/service dund stop >/dev/null 2>&1
/sbin/service pand stop >/dev/null 2>&1
/sbin/chkconfig --del bluetooth
/sbin/chkconfig --del hidd
/sbin/chkconfig --del dund
/sbin/chkconfig --del pand
fi
POSTIN
/bin/sh
/sbin/chkconfig --add bluetooth
/sbin/chkconfig --add hidd
/sbin/chkconfig --add dund
/sbin/chkconfig --add pand
if [ "$1" = "1" ]; then
/sbin/service bluetooth condrestart >/dev/null 2>&1
/sbin/service hidd condrestart >/dev/null 2>&1
/sbin/service dund condrestart >/dev/null 2>&1
/sbin/service pand condrestart >/dev/null 2>&1
fi