[Lunar-commits] r15314 - lunar-iso/branches/lunar-iso-2.6/lunar-install/init.d

Jaime Buffery nestu at lunar-linux.org
Fri Jun 10 11:40:38 UTC 2005


Author: nestu
Date: 2005-06-10 11:40:37 +0000 (Fri, 10 Jun 2005)
New Revision: 15314

Modified:
   lunar-iso/branches/lunar-iso-2.6/lunar-install/init.d/lunar-install
Log:
Syncing with trunk

Modified: lunar-iso/branches/lunar-iso-2.6/lunar-install/init.d/lunar-install
===================================================================
--- lunar-iso/branches/lunar-iso-2.6/lunar-install/init.d/lunar-install	2005-06-10 11:32:09 UTC (rev 15313)
+++ lunar-iso/branches/lunar-iso-2.6/lunar-install/init.d/lunar-install	2005-06-10 11:40:37 UTC (rev 15314)
@@ -1,25 +1,36 @@
 #!/bin/bash
 
 if touch / 2> /dev/null ; then
+
   # clean up if successfull!
-  rm -f /sbin/lunar-install /etc/rc3.d/S20lunar-install /etc/init.d/lunar-install &
-  echo "    /----------------------------------------------------------------\\"
-  echo "    |                                                                |"
-  echo "    |   Lunar Linux installation finished succesfully!               |"
-  echo "    |                                                                |"
-  echo "    |   Please log in as root and start using your system !          |"
-  echo "    |                                                                |"
-  echo "    | o Use `lservices` to enable startup daemons and services       |"
-  echo "    | o Use `luser` to add new users to the system                   |"
-  echo "    | o Use `lnet` to configure your network                         |"
-  echo "    | o Use `lmodules` to load/unload kernel modules                 |"
-  echo "    | o Use `lunar` to install, remove and update packages           |"
-  echo "    |                                                                |"
-  echo "    |   Read `man lfirsttime` for more tips and help                 |"
-  echo "    |                                                                |"
-  echo "    \\----------------------------------------------------------------/"
+  rm -f /etc/rc3.d/S99lunar-install /etc/init.d/lunar-install
+
+B=`echo -en '\e[1m'`
+G=`echo -en '\e[32m'`
+Y=`echo -en '\e[1;33m'`
+E=`echo -en '\e[0m'`
+
+cat << EOF
+${B}       ________________________________________________________________
+      |                                                                |
+      |         ${G}${B}Lunar Linux${E} ${G}installation finished succesfully!         ${E}${B}|
+      |                                                                |
+      |       ${E}Please log in as root and start using your system!       ${B}|
+      |                                                                |
+      |    · ${E}Use '${Y}lservices${E}' to enable startup daemons and services    ${B}|
+      |    · ${E}Use '${Y}luser${E}' to add new users to the system                ${B}|
+      |    · ${E}Use '${Y}lnet${E}' to configure your network                      ${B}|
+      |    · ${E}Use '${Y}lmodules${E}' to load/unload kernel modules              ${B}|
+      |    · ${E}Use '${Y}lunar${E}' to install, remove and update packages        ${B}|
+      |                                                                |
+      |          Read 'man lfirsttime' for more tips and help          |
+      |                                                                |
+      |________________________________________________________________|${E}
+
+EOF
+
   # update the locate db in the background once - no need to wait on it
-  updatedb &
+  updatedb >& /dev/null &
 else
   /sbin/lunar-install
 fi



More information about the Lunar-commits mailing list