iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mainly add external monitoring of mail server
[distro-setup]
/
filesystem
/
usr
/
local
/
bin
/
mycheckrestart
diff --git
a/filesystem/usr/local/bin/mycheckrestart
b/filesystem/usr/local/bin/mycheckrestart
index eec85848a7aaf642e06075ba0032a189add4a4d5..1d4bdaa4fa584ffb5199099d11f2408ccc90908e 100755
(executable)
--- a/
filesystem/usr/local/bin/mycheckrestart
+++ b/
filesystem/usr/local/bin/mycheckrestart
@@
-17,6
+17,4
@@
fi
cmd="$s /usr/sbin/checkrestart -p"
if [[ $($cmd | sed '/^Found 0 processes using old versions of upgraded files$/d' | wc -l) != 0 ]]; then
$cmd
- echo "with -v:"
- $cmd -v
fi