git://git.onelab.eu
/
fprobe-ulog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't re-enable the initscript if it has been disabled.
[fprobe-ulog.git]
/
fprobe-ulog.spec
diff --git
a/fprobe-ulog.spec
b/fprobe-ulog.spec
index
08cdf79
..
e199944
100644
(file)
--- a/
fprobe-ulog.spec
+++ b/
fprobe-ulog.spec
@@
-55,10
+55,9
@@
rm -rf %{buildroot}
%post
chkconfig --add fprobe-ulog
%post
chkconfig --add fprobe-ulog
-chkconfig fprobe-ulog on
if [ "$PL_BOOTCD" != "1" ] ; then
if [ "$PL_BOOTCD" != "1" ] ; then
-
service fprobe-ulog
restart
-
fi
+
service fprobe-ulog cond
restart
+fi
%preun
# 0 = erase, 1 = upgrade
%preun
# 0 = erase, 1 = upgrade
@@
-66,7
+65,6
@@
if [ "$1" -eq 0 ]; then
if [ "$PL_BOOTCD" != "1" ] ; then
service fprobe-ulog stop
fi
if [ "$PL_BOOTCD" != "1" ] ; then
service fprobe-ulog stop
fi
- chkconfig fprobe-ulog off
chkconfig --del fprobe-ulog
fi
chkconfig --del fprobe-ulog
fi