mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
fcron: disable mails.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
SHELL=/bin/bash
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
MAILTO=root
|
||||
MAILTO=
|
||||
HOME=/
|
||||
|
||||
# Do all jobs in this directories
|
||||
|
||||
@@ -35,6 +35,10 @@ killall vpn-watch
|
||||
#Extract files
|
||||
extract_files
|
||||
|
||||
# Remove disable cron mails...
|
||||
sed "s|MAILTO=root|MAILTO=|g" < /var/spool/cron/root.orig > /var/tmp/root.tmp
|
||||
fcrontab /var/tmp/root.tmp
|
||||
|
||||
#
|
||||
#Start services
|
||||
echo Starting Proxy
|
||||
|
||||
Reference in New Issue
Block a user