Changed files:
bootparamd.spec -> 1.20
rm -rf $RPM_BUILD_ROOT
%post
-DESC="rpc.bootparamd server"; %chkconfig_add
+/sbin/chkconfig --add bootparamd
+if [ -f /var/lock/subsys/rpc.bootparamd ]; then
+ /etc/rc.d/init.d/bootparamd restart 1>&2
+else
+ echo "Type \"/etc/rc.d/init.d/bootparamd start\" to start rpc.bootparamd server" 1>&2
+fi
%postun
-%chkconfig_addun
+if [ "$1" = "0" ]; then
+ if [ -f /var/lock/subsys/rpc.bootparamd ]; then
+ /etc/rc.d/init.d/bootparamd stop 1>&2
+ fi
+ /sbin/chkconfig --del bootparamd
+fi
%files
%defattr(644,root,root,755)