]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
- send hup to init if /dev/initctl pipe present; rel 11 auto/ac/SysVinit-2_86-11 auto/th/SysVinit-2_86-11 auto/ti/SysVinit-2_86-11
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 13 Nov 2007 21:17:40 +0000 (21:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SysVinit.spec -> 1.137

SysVinit.spec

index d28c966f8b3733e8bb0496589d25520093036a66..157e8b02497d2016fe2b3b4dafe1e3e625077fae 100644 (file)
@@ -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
This page took 0.116374 seconds and 4 git commands to generate.