First check in
This commit is contained in:
24
SNAP/usher
Executable file
24
SNAP/usher
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
preinst)
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
if [ ! -f /etc/rsyslog.conf ]; then
|
||||
cp /usr/share/rsyslog/rsyslog.conf /etc/rsyslog.conf
|
||||
fi
|
||||
|
||||
/etc/init.d/rsyslog status 2>&1 > /dev/null && /etc/init.d/rsyslog restart
|
||||
|
||||
exit 0
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
;;
|
||||
postrm)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user