[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora-livecd-list] 2 issues fixed?



Chitlesh GOORAH wrote:


your patch was rejected somehow. Ive created again the patch based on
yours. Its attached

It won't work, even if it patches clean, I had generated a patch against a file that had whitespace or something modified in it.
Anyways, here.. I've attached one that does in fact work.
My bad, mistakes happen. :-P
--- rc/rc.readonly-livecd.orig	2006-02-17 18:01:38.000000000 -0600
+++ rc/rc.readonly-livecd	2006-02-17 18:05:42.000000000 -0600
@@ -38,8 +38,13 @@
 	mount_file /etc
 	
 	echo "Moving /etc/rc.d to /livecd/ramfs (we need this for safe shutdown)"
-	mv /etc/rc.d /livecd/ramfs/
-	ln -s /livecd/ramfs/rc.d /etc/rc.d
+        if [ "${INITRD_DBG}" = "x" ]; then
+	     mv /etc/rc.d /livecd/ramfs/
+             ln -s /livecd/ramfs/rc.d /etc/rc.d
+        else
+             mv /etc/rc.d /livecd/ramfs/ >/dev/null 2>&1
+	     ln -s /livecd/ramfs/rc.d /etc/rc.d
+        fi
 
 	# Can be changed by dhcp:
 	if [ -f /initrd/tmp/dhclient.leases ]; then
@@ -70,4 +75,4 @@
 	*)
 		from_init
 		;;
-esac
\ No newline at end of file
+esac

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]