[Lunar-commits] r15956 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Sun Jul 31 18:17:27 UTC 2005


Author: sofar
Date: 2005-07-31 18:17:26 +0000 (Sun, 31 Jul 2005)
New Revision: 15956

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
overwrite motd and give proper swap fs type.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-07-31 16:00:39 UTC (rev 15955)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-07-31 18:17:26 UTC (rev 15956)
@@ -182,6 +182,7 @@
 	        if echo ${PARTITIONS[$N]} | grep -q "^$PART:"; then
 		    FSTYPE=$(echo ${PARTITIONS[$N]} | cut -d: -f2)
 		    MNTPNT=$(echo ${PARTITIONS[$N]} | cut -d: -f3)
+		    FSTYPE=${FSTYPE/none/swap}
 		    echo "$FSTYPE partition, size $FSIZE"
 		    continue 2
 		fi		
@@ -721,6 +722,7 @@
 	# post-first-boot message:
 	cp /etc/init.d/lunar-install $TARGET/etc/init.d/
 	ln -s /etc/init.d/lunar-install $TARGET/etc/rc3.d/S99lunar-install
+	cp /etc/motd $TARGET/etc/motd
 	
 	# save proxies
         if [ -n "$HPROXY" -o -n "$FPROXY" -o -n "$NPROXY" ]; then



More information about the Lunar-commits mailing list