From 752e48778bc2f1b4f5c935f6cc86b724159c0054 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 13 Nov 2007 21:17:40 +0000 Subject: [PATCH] - send hup to init if /dev/initctl pipe present; rel 11 Changed files: SysVinit.spec -> 1.137 --- SysVinit.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SysVinit.spec b/SysVinit.spec index d28c966..157e8b0 100644 --- a/SysVinit.spec +++ b/SysVinit.spec @@ -14,7 +14,7 @@ Summary(tr.UTF-8): System V başlatma programı Summary(uk.UTF-8): Програми, що керують базовими системними процесами Name: SysVinit Version: 2.86 -Release: 10.1 +Release: 11 License: GPL Group: Base Source0: ftp://ftp.cistron.nl/pub/people/miquels/software/sysvinit-%{version}.tar.gz @@ -180,10 +180,14 @@ chmod 600 %{_sysconfdir}/ioctl.save chmod 640 /var/log/faillog chmod 660 /var/log/lastlog chmod 640 /var/log/btmpx -%{_sbindir}/telinit u || : +if [ -p /dev/initctl ]; then + %{_sbindir}/telinit u || : +fi %triggerpostun -- glibc -%{_sbindir}/telinit u || : +if [ -p /dev/initctl ]; then + %{_sbindir}/telinit u || : +fi %postun if [ "$1" = "0" ]; then -- 2.44.0