Showing 2 changed files with 1 additions and 5 deletions
+1 -1
monitoring.d/common-tests
... ...
@@ -37,7 +37,7 @@ function sys_state () {
37 37
     fi
38 38
 }
39 39
 
40
-function needrestart () {
40
+function restart_needed () {
41 41
     _turn 24 || return
42 42
     echo "$(needrestart -m a -r l -bkl | awk -F': ' '{
43 43
         if ($1 == "NEEDRESTART-SVC")
-4
monitoring.d/raspberrypi
... ...
@@ -100,7 +100,3 @@ function piwigo_private () {
100 100
     _turn 20 || return
101 101
     test "$(curl --silent 'http://192.168.0.71/photos/ws.php?format=json&method=pwg.categories.getList' | sum)" = "00569     1" || echo "albums visibles publiquement"
102 102
 }
103
-
104
-function kernel_upgrade () {
105
-    test -d /lib/modules/$(uname -r) || echo "reboot needed"
106
-}