Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 226a9c8de1f22d2898beeecf79a37566 > scriptlet

bluez-utils-3.7-2.2.el5.centos.x86_64.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