From LocalizationWiki
--- etc/init.d/knoppix-autoconfig 2005-03-31 18:45:50.000000000 -0500
+++ /base/etc/init.d/knoppix-autoconfig 2006-01-12 07:28:51.000000000 -0500
@@ -209,10 +209,10 @@
MHOSTNAME="$(getbootparam hostname)"
if [ -n "$MHOSTNAME" ]; then
rm /etc/hosts
- sed -e "s|Morphix|$MHOSTNAME|g" /MorphixCD/etc/hosts >/etc/hosts
+ sed -e "s|dzongkhalinux|$MHOSTNAME|g" /MorphixCD/etc/hosts >/etc/hosts
hostname $MHOSTNAME
else
- hostname Morphix
+ hostname Dzongkhalinux
fi
# Set clock (Local time is more often used than GMT, so it is default)
@@ -307,7 +307,7 @@
# add it to a different bootoption and/or integrate it in autobuilding
echo " ${BLUE}Checking CD data integrity as requested by '${CYAN}testcd${BLUE}' boot option.${NORMAL}"
- echo " ${BLUE}Reading files and checking against MORPHIX/md5sums, this may take a while...${NORMAL}"
+ echo " ${BLUE}Reading files and checking against DZONGKHA LINUX/md5sums, this may take a while...${NORMAL}"
echo -n "${RED}"
( cd /cdrom/ ; rm -f /tmp/md5sum.log ; LANG="$LANG" md5sum -v -c md5sums 2>&1 | tee /tmp/md5sum.log )
if [ "$?" = "0" ]; then
@@ -607,7 +607,7 @@
if [ -n "$INTERACTIVE" ]
then
- echo -n "${CYAN}Do you want to (re)configure your graphics (X11) subsystem? (not currently working in
Morphix)${NORMAL} [Y/n] "
+ echo -n "${CYAN}Do you want to (re)configure your graphics (X11) subsystem? (not currently working in
Dzonghalinux)${NORMAL} [Y/n] "
read a
[ "$a" != "n" ] && xf86cfg -textmode -xf86config /etc/X11/XF86Config-4 >/dev/console 2>&1 </dev/console
echo " ${GREEN}Interactive configuration finished. Everything else should be fine for now.${NORMAL}"
@@ -708,7 +708,7 @@
echo -n "${BLUE}Scanning for Harddisk partitions and creating ${YELLOW}/etc/fstab${BLUE}... "
USERNAME="$(getbootparam username)"
if [ -z $USERNAME ]; then
- USERNAME="morph"
+ USERNAME="bhutan"
fi
rebuildfstab -r -u $USERNAME >/dev/null 2>&1
if [ -e /var/run/rebuildfstab.pid ]; then
@@ -739,7 +739,7 @@
if [ -f $d/morphix.swp ]; then
mount -o remount,rw $d
if swapon $d/morphix.swp 2>/dev/null; then
- echo "${BLUE}Using Morphix swapfile ${MAGENTA}$d/morphix.swp${BLUE}.${NORMAL}"
+ echo "${BLUE}Using Dzongkhalinux swapfile ${MAGENTA}$d/morphix.swp${BLUE}.${NORMAL}"
mount -o remount,ro $d 2>/dev/null
fnew="$d/morphix.swp swap swap defaults 0 0"
stringinfile "$fnew" "/etc/fstab" || echo "$fnew" >> /etc/fstab
@@ -785,13 +785,13 @@
# Check for configuration floppy add-on if not running from HD
if [ -n "$MYCONF" ]; then
FOUND_CONFIG=""
- echo -n "${CRE}${BLUE}Checking ${MAGENTA}/dev/fd0${BLUE} for Morphix configuration floppy...${NORMAL}"
+ echo -n "${CRE}${BLUE}Checking ${MAGENTA}/dev/fd0${BLUE} for Dzongkhalinux configuration floppy...${NORMAL}"
if mount -t auto -o ro /dev/fd0 /mnt/floppy >/dev/null 2>&1; then
for i in morphix.sh MORPHIX.SH MORPHIX.sh Morphix.sh; do
if [ -f /mnt/floppy/$i ]; then
echo ""
FOUND_CONFIG="yes"
- echo " ${GREEN}Morphix Configuration floppy found, executing ${MAGENTA}$i${GREEN}.${NORMAL}"
+ echo " ${GREEN}Dzongkhalinux Configuration floppy found, executing ${MAGENTA}$i${GREEN}.${NORMAL}"
echo "6" > /proc/sys/kernel/printk
. /mnt/floppy/$i /mnt/floppy || true
echo "0" > /proc/sys/kernel/printk
@@ -811,7 +811,7 @@
if [ -f /cdrom/base/$i ]; then
echo ""
FOUND_CONFIG="yes"
- echo " ${GREEN}Morphix Configuration file found in /cdrom/base, executing ${MAGENTA}$i${GREEN}.${NORMAL}"
+ echo " ${GREEN}Dzongkhalinux Configuration file found in /cdrom/base, executing
${MAGENTA}$i${GREEN}.${NORMAL}"
echo "6" > /proc/sys/kernel/printk
. /cdrom/base/$i /cdrom/base || true
echo "0" > /proc/sys/kernel/printk