From 40c692c1842989095068c620b075489adafd7822 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 29 Apr 2017 15:08:13 +0200 Subject: add temp. check to notify about nodes not using systemd Signed-off-by: Holger Levsen --- update_jdn.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/update_jdn.sh b/update_jdn.sh index 90abca9f..968899df 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -43,6 +43,14 @@ disable_dsa_check_packages() { echo "--------------------------------------------" explain "$(date) - begin deployment update." +# +# temporarily test to check which hosts don't use systemd +# +if [ -z "$(dpkg -l|grep systemd-sysv||true)" ] ; then + echo "no systemd-sysv installed on $(hostname)" + read +fi + # some nodes need special treatment… case $HOSTNAME in profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386|profitbricks-build15-amd64|profitbricks-build16-i386) -- cgit v1.2.3-70-g09d2