From: Elan Ruusamäe Date: Tue, 13 Nov 2007 21:17:40 +0000 (+0000) Subject: - send hup to init if /dev/initctl pipe present; rel 11 X-Git-Tag: auto/ac/SysVinit-2_86-11 X-Git-Url: http://git.pld-linux.org/?p=packages%2FSysVinit.git;a=commitdiff_plain;h=752e48778bc2f1b4f5c935f6cc86b724159c0054 - send hup to init if /dev/initctl pipe present; rel 11 Changed files: SysVinit.spec -> 1.137 --- 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