7 Commits
5 changed files with 26 additions and 11 deletions
+1
View File
@@ -1 +1,2 @@
TODO
tags
+3 -3
View File
@@ -18,12 +18,12 @@ fi
RUNLEVEL=`runlevel | cut -f 2 -d ' '`
[ "x$RUNLEVEL" == "x" ] && RUNLEVEL=0
if [ $RUNLEVEL -eq 0 ] || [ $RUNLEVEL -eq 6 ]; then
if [ "$RUNLEVEL" == "0" ] || [ "$RUNLEVEL" == "6" ]; then
echo "Arret ou reboot en cours : on sort"
exit
fi
if [ $RUNLEVEL -eq 1 ]; then
if [ "$RUNLEVEL" == "1" ]; then
echo "Démarrage en cours : on sort"
exit
fi
@@ -188,7 +188,7 @@ function testdf()
fi
IFS="
"
for ligne in `LANGUAGE=C df -P -l -x tmpfs -x devtmpfs -x squashfs $fs | sed '/Filesystem/d'`; do
for ligne in `LANGUAGE=C df -P -l -x tmpfs -x devtmpfs -x squashfs -x efivarfs $fs | sed '/Filesystem/d'`; do
fs_space=`echo $ligne | awk '{print $5}'| sed 's/\%//'`
filesys=`echo $ligne | awk '{print $6}'`
if [ $fs_space -gt $limite ]; then
+19
View File
@@ -1,3 +1,22 @@
domcheck (0.30-1) testing; urgency=low
* testdf : add exclusion for efivarfs filesystem
-- Dominique Fournier <dominique@fournier38.fr> Mon, 10 Aug 2026 08:30:35 +0200
domcheck (0.29-1) testing; urgency=low
* In Systemd, runlevel returns "unknown" and generate errors. Use strings
(but do not detect if the system is booting)
-- Dominique Fournier <dominique@fournier38.fr> Thu, 02 Oct 2025 11:35:09 +0200
domcheck (0.28-1) testing; urgency=low
* Ubuntu minimized : put the configuration file /etc/check.conf by installer
-- Dominique Fournier <dominique@fournier38.fr> Tue, 05 Nov 2024 18:13:20 +0200
domcheck (0.27-1) testing; urgency=low
* Add Systemd Support
-6
View File
@@ -1,6 +0,0 @@
#!/bin/sh -e
if [ ! -e /etc/check.conf ]; then
cp /usr/share/doc/domcheck/check.conf /etc/check.conf
fi
#DEBHELPER#
+3 -2
View File
@@ -1,2 +1,3 @@
supercheck /usr/sbin
check /usr/sbin
supercheck /usr/sbin
check /usr/sbin
check.conf /etc