[Lunar-commits] r14996 - lunar-iso/trunk/lunar-install/init.d
Jon South
striker at lunar-linux.org
Tue May 24 18:31:15 UTC 2005
Author: striker
Date: 2005-05-24 18:31:12 +0000 (Tue, 24 May 2005)
New Revision: 14996
Modified:
lunar-iso/trunk/lunar-install/init.d/lunar-install
Log:
fixups, and better ascii
Modified: lunar-iso/trunk/lunar-install/init.d/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/init.d/lunar-install 2005-05-24 18:04:18 UTC (rev 14995)
+++ lunar-iso/trunk/lunar-install/init.d/lunar-install 2005-05-24 18:31:12 UTC (rev 14996)
@@ -1,25 +1,36 @@
#!/bin/bash
if touch / 2> /dev/null ; then
+
# clean up if successfull!
- rm -f /etc/rc3.d/S99lunar-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}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 2>&1 > /dev/null &
+ updatedb >& /dev/null &
else
/sbin/lunar-install
fi
More information about the Lunar-commits
mailing list