First check in
This commit is contained in:
21
SNAP/usher
Executable file
21
SNAP/usher
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
preinst)
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
[ -f "/run/cron.pid" ] && /etc/init.d/cron restart
|
||||
[ -f "/etc/crontab" ] || cp /usr/share/cron/crontab /etc/crontab
|
||||
exit 0
|
||||
;;
|
||||
prerm)
|
||||
[ -f "/run/cron.pid" ] && /etc/init.d/cron stop
|
||||
exit 0
|
||||
;;
|
||||
postrm)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user