[Lunar-commits] r17295 - in lunar-iso/trunk/lunar-install: init.d sbin

Auke Kok sofar at lunar-linux.org
Sun Nov 13 22:20:41 UTC 2005


Author: sofar
Date: 2005-11-13 22:20:40 +0000 (Sun, 13 Nov 2005)
New Revision: 17295

Modified:
   lunar-iso/trunk/lunar-install/init.d/lunar-install
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
New ro/rw detection method, also display a message after succesfully installing a precompiled kernel, and fix a typo.


Modified: lunar-iso/trunk/lunar-install/init.d/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/init.d/lunar-install	2005-11-13 21:59:06 UTC (rev 17294)
+++ lunar-iso/trunk/lunar-install/init.d/lunar-install	2005-11-13 22:20:40 UTC (rev 17295)
@@ -1,9 +1,8 @@
 #!/bin/bash
 
-if touch / 2> /dev/null ; then
+rm -f /etc/rc3.d/S99lunar-install /etc/init.d/lunar-install &> /dev/null
 
-  # clean up if successfull!
-  rm -f /etc/rc3.d/S99lunar-install /etc/init.d/lunar-install
+if [ -e /etc/init.d/lunar-install ] ; then
 
 B=`echo -en '\e[1m'`
 G=`echo -en '\e[32m'`

Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-11-13 21:59:06 UTC (rev 17294)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-11-13 22:20:40 UTC (rev 17295)
@@ -1037,6 +1037,7 @@
 					cd $TARGET && tar xjf /kernels/$CCOMMAND.tar.bz2
 					# let the plugin code handle the hard work
 					chroot_run lsh update_bootloader $CCOMMAND ${CCOMMAND:0:15}
+					$DIALOG --msgbox "The precompiled kernel \"$CCOMMAND\" has been installed to your system." 12 60
 				fi
 			;;
 		esac
@@ -1367,7 +1368,7 @@
 	echo ""
 	echo "  /--------------------------------------------------\\"
 	echo "  |                                                  |"
-	echo "  |  Executing /run/sh instead of the lunar-linux    |"
+	echo "  |  Executing /run.sh instead of the lunar-linux    |"
 	echo "  |  installer! If something goes wrong then you're  |"
 	echo "  |  on your own, sorry...                           |"
 	echo "  |                                                  |"



More information about the Lunar-commits mailing list