Parcourir la source

move "dpkg --audit" to concierge-status

guillaume il y a 8 ans
Parent
commit
543bddc8b1
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 0
      src/concierge-status
  2. 0 5
      src/concierge-validate

+ 5 - 0
src/concierge-status

@@ -6,3 +6,8 @@ LOGGER="logger -t concierge -s"
 if type "systemctl" > /dev/null; then
   systemctl list-units --failed --plain --no-legend 2>&1 | $LOGGER
 fi
+
+# dpkg: sanity and consistency checks (broken, half-installed, ...)
+if type "dpkg" > /dev/null; then
+  dpkg --audit 2>&1 | $LOGGER
+fi

+ 0 - 5
src/concierge-validate

@@ -15,11 +15,6 @@ if type "mount" > /dev/null; then
   mount -fa 2>&1 | $LOGGER
 fi
 
-# dpkg: sanity and consistency checks (broken, half-installed, ...)
-if type "dpkg" > /dev/null; then
-  dpkg --audit 2>&1 | $LOGGER
-fi
-
 # sshd: test configuration
 if type "sshd" > /dev/null; then
   sshd -t 2>&1 | $LOGGER