projects
/
ossec-hids-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Izmjene za stretch
[ossec-hids-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
aea8ce2
..
801d23f
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-116,13
+116,7
@@
EOF
cp_mv "$local_rules.$$" "$local_rules"
# and restart the service
cp_mv "$local_rules.$$" "$local_rules"
# and restart the service
-if [ -x /etc/init.d/ossec-hids ]; then
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d ossec-hids restart || true
- else
- /etc/init.d/ossec-hids restart || true
- fi
-fi
+service ossec-hids restart || true
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.