5 Commits

Author SHA1 Message Date
Dominique FOURNIER
a03063095e Start packaging 0.29 2025-10-02 11:35:19 +02:00
Dominique FOURNIER
69aff594c6 Update .gitignore to add tags file 2025-10-02 11:33:24 +02:00
Dominique FOURNIER
7e92d5480f In Systemd, runlevel returns "unknown" and generate errors. Use strings (but do not detect if the system is booting) 2025-10-02 11:32:24 +02:00
Dominique FOURNIER
2bbff4b3ea version update 2024-11-05 18:13:42 +01:00
Dominique FOURNIER
8a74df0366 Ubuntu minimized : put the configuration file directely in install 2024-11-05 18:11:39 +01:00
5 changed files with 19 additions and 10 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
TODO TODO
tags

4
check
View File

@@ -18,12 +18,12 @@ fi
RUNLEVEL=`runlevel | cut -f 2 -d ' '` RUNLEVEL=`runlevel | cut -f 2 -d ' '`
[ "x$RUNLEVEL" == "x" ] && RUNLEVEL=0 [ "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" echo "Arret ou reboot en cours : on sort"
exit exit
fi fi
if [ $RUNLEVEL -eq 1 ]; then if [ "$RUNLEVEL" == "1" ]; then
echo "Démarrage en cours : on sort" echo "Démarrage en cours : on sort"
exit exit
fi fi

13
debian/changelog vendored
View File

@@ -1,3 +1,16 @@
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 domcheck (0.27-1) testing; urgency=low
* Add Systemd Support * Add Systemd Support

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#

1
debian/install vendored
View File

@@ -1,2 +1,3 @@
supercheck /usr/sbin supercheck /usr/sbin
check /usr/sbin check /usr/sbin
check.conf /etc