Sophie

Sophie

distrib > CentOS > 5 > i386 > by-pkgid > 1bf852ece7bf0d6b7096c47e3bda9699 > scriptlet

bluez-utils-3.7-2.2.el5.centos.i386.rpm

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