[Lunar-commits] r14952 - lunar-iso/trunk/lunar-install/sbin
Auke Kok
sofar at lunar-linux.org
Sun May 22 20:26:25 UTC 2005
Author: sofar
Date: 2005-05-22 20:26:25 +0000 (Sun, 22 May 2005)
New Revision: 14952
Modified:
lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Adjusted date tag in here too. Also try to fix /dev/ vc/X shell initial directory, which is weird.
Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install 2005-05-22 20:23:43 UTC (rev 14951)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install 2005-05-22 20:26:25 UTC (rev 14952)
@@ -657,7 +657,7 @@
(
cd $TARGET/var/lib/lunar
tar xjf /var/lib/lunar/moonbase.tar.bz2 2> /dev/null
- tar j --list -f /var/lib/lunar/moonbase.tar.bz2 | sed 's:^:/var/lib/lunar/:g' > $TARGET/var/log/lunar/install/moonbase-%ISO_DATE%
+ tar j --list -f /var/lib/lunar/moonbase.tar.bz2 | sed 's:^:/var/lib/lunar/:g' > $TARGET/var/log/lunar/install/moonbase-%DATE%
)
(( CNT++ ))
fi
@@ -672,7 +672,7 @@
) | $DIALOG --title " Installing $NUM packages " --gauge "" 10 70 0
# setup list of installed packages etc.
- echo "moonbase:%ISO_DATE%:installed:%ISO_DATE%:37M" >> $TARGET/var/state/lunar/packages
+ echo "moonbase:%DATE%:installed:%DATE%:37M" >> $TARGET/var/state/lunar/packages
cp /var/state/lunar/depends $TARGET/var/state/lunar/
cp /var/state/lunar/depends.backup $TARGET/var/state/lunar/
cp /var/state/lunar/depends.cache $TARGET/var/state/lunar/
@@ -1270,11 +1270,12 @@
# no screen blanking
/usr/bin/setterm -blank 0
+cd /
+
# start shells on vt's
for i in 2 3 4; do
(
export PS1="[vt$i] \033[0;32m\]\u@\h \w $ \[\033[0m\]"
- cd /
/sbin/agetty -n -l /bin/bash 38400 tty$i &
)
done
@@ -1284,7 +1285,7 @@
"
DIALOG="dialog
--backtitle
-Lunar Linux Installer %VERSION% - %CODENAME%
+Lunar Linux Installer %VERSION% - %CODENAME% (%DATE%)
--stdout"
ARCH=`arch`
More information about the Lunar-commits
mailing list