SPECS: SysVinit.spec - send hup to init if /dev/initctl pipe prese...

glen glen at pld-linux.org
Tue Nov 13 22:17:45 CET 2007


Author: glen                         Date: Tue Nov 13 21:17:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- send hup to init if /dev/initctl pipe present; rel 11

---- Files affected:
SPECS:
   SysVinit.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: SPECS/SysVinit.spec
diff -u SPECS/SysVinit.spec:1.136 SPECS/SysVinit.spec:1.137
--- SPECS/SysVinit.spec:1.136	Tue Nov 13 11:19:17 2007
+++ SPECS/SysVinit.spec	Tue Nov 13 22:17:40 2007
@@ -15,7 +15,7 @@
 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
@@ -181,10 +181,14 @@
 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
@@ -236,6 +240,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2007-11-13 21:17:40  glen
+- send hup to init if /dev/initctl pipe present; rel 11
+
 Revision 1.136  2007-11-13 10:19:17  glen
 - add ENOIOCTLCMD fix from altlinux
 - `/sbin/telinit u` after glibc upgrade in this spec, not glibc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/SysVinit.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list