forked from evolix/evocheck
Add option to skip KERNELUPTODATE check.
This commit is contained in:
parent
ec08f0fe19
commit
83c0371334
|
@ -88,6 +88,11 @@ IS_RSYNC=1
|
||||||
# Source configuration file
|
# Source configuration file
|
||||||
test -f /etc/evocheck.cf && . /etc/evocheck.cf
|
test -f /etc/evocheck.cf && . /etc/evocheck.cf
|
||||||
|
|
||||||
|
# If --cron is passed, ignore some checks.
|
||||||
|
if [ "$1" = "--cron" ]; then
|
||||||
|
IS_KERNELUPTODATE=0
|
||||||
|
fi
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
is_pack_web(){
|
is_pack_web(){
|
||||||
test -e /usr/share/scripts/web-add.sh
|
test -e /usr/share/scripts/web-add.sh
|
||||||
|
|
Loading…
Reference in a new issue