First check in

This commit is contained in:
2016-10-24 07:13:32 -05:00
commit ad281eae64
7 changed files with 155 additions and 0 deletions

29
SNAP/usher Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
set -e
CONF="auth,authpriv.* -/var/log/auth.log
*.*;auth,authpriv.none -/var/log/sys.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
#*.emerg *
*.emerg -/var/log/kern.log"
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/syslog.conf ]; then
echo "${CONF}" > ${TARGET}/etc/syslog.conf
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac