X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=fprobe-ulog.spec;h=e199944fdecf77626f009622a6605b4264a27134;hb=ce4923d5f22b67f3613b841e456262cc863a085d;hp=08cdf798614ee2cba0602bc718e3336cf4459fb9;hpb=fe0683a05ed5f048ef9c473c39c857436e73ad4a;p=fprobe-ulog.git diff --git a/fprobe-ulog.spec b/fprobe-ulog.spec index 08cdf79..e199944 100644 --- a/fprobe-ulog.spec +++ b/fprobe-ulog.spec @@ -55,10 +55,9 @@ rm -rf %{buildroot} %post chkconfig --add fprobe-ulog -chkconfig fprobe-ulog on if [ "$PL_BOOTCD" != "1" ] ; then - service fprobe-ulog restart - fi + service fprobe-ulog condrestart +fi %preun # 0 = erase, 1 = upgrade @@ -66,7 +65,6 @@ if [ "$1" -eq 0 ]; then if [ "$PL_BOOTCD" != "1" ] ; then service fprobe-ulog stop fi - chkconfig fprobe-ulog off chkconfig --del fprobe-ulog fi