From a2b14b7753e83a2cec7eacb583c242c6e4832603 Mon Sep 17 00:00:00 2001 From: Dan Voiculeasa Date: Thu, 30 Sep 2021 14:24:42 +0300 Subject: [PATCH 5/5] drbd overview Clean copy of 0005_915-drbd-overview.patch from CentOS. Signed-off-by: Dan Voiculeasa --- scripts/Makefile.in | 1 + scripts/drbd-overview.pl | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/Makefile.in b/scripts/Makefile.in index e2c6767..6fb6f98 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -102,6 +102,7 @@ endif $(LN_S) -f notify.sh notify-emergency-reboot.sh ;\ $(LN_S) -f notify.sh notify-emergency-shutdown.sh ;\ $(LN_S) -f notify.sh notify-out-of-sync.sh; ) + install -m 755 drbd-overview.pl $(DESTDIR)$(sbindir)/drbd-overview ifeq ($(DISTRO),debian) @ echo "Don't forget to run update-rc.d" else diff --git a/scripts/drbd-overview.pl b/scripts/drbd-overview.pl index 3d2a397..22abdf4 100755 --- a/scripts/drbd-overview.pl +++ b/scripts/drbd-overview.pl @@ -413,8 +413,6 @@ eval { warn "unrecognized value for --color" unless $use_colors =~ /^[01]$/; }; -print STDERR "NOTE: drbd-overview will be deprecated soon.\nPlease consider using drbdtop.\n\n"; - open STDERR, "/dev/null" if $stderr_to_dev_null; -- 2.30.0