rpms/kexec-tools/devel/kdump_dracut_modules/99kdumpbase check, 1.3, 1.4 install, 1.3, 1.4

Neil Horman nhorman at fedoraproject.org
Tue Sep 15 17:05:01 UTC 2009


Author: nhorman

Update of /cvs/extras/rpms/kexec-tools/devel/kdump_dracut_modules/99kdumpbase
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22494/kdump_dracut_modules/99kdumpbase

Modified Files:
	check install 
Log Message:
Resolves: bz 522486


Index: check
===================================================================
RCS file: /cvs/extras/rpms/kexec-tools/devel/kdump_dracut_modules/99kdumpbase/check,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- check	10 Sep 2009 14:36:34 -0000	1.3
+++ check	15 Sep 2009 17:05:01 -0000	1.4
@@ -1,4 +1,9 @@
 #!/bin/sh
+if [ ! -f /etc/kdump-adv-conf/init ]
+then
+	# exit if we didn't set up an init script
+	exit 1
+fi
 
 #do not add this module by default
 exit 1


Index: install
===================================================================
RCS file: /cvs/extras/rpms/kexec-tools/devel/kdump_dracut_modules/99kdumpbase/install,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- install	14 Aug 2009 13:30:28 -0000	1.3
+++ install	15 Sep 2009 17:05:01 -0000	1.4
@@ -2,4 +2,4 @@
 rm -f $initdir/init
 inst "/etc/kdump-adv-conf/init" "/init"
 inst "/bin/date" "/bin/date"
-inst "/usr/bin/reboot" "bin/reboot"
+inst "/usr/bin/reboot" "/bin/reboot"




More information about the fedora-extras-commits mailing list