Merge branch 'master' of ssh://git.qubes-os.org/var/lib/qubes/git/joanna/core

This commit is contained in:
Marek Marczykowski 2012-05-08 23:22:29 +02:00
commit 873ca589fe
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ start()
# because it makes some of the pre-created dotfiles invalid (e.g. .kde/cache-<hostname>) # because it makes some of the pre-created dotfiles invalid (e.g. .kde/cache-<hostname>)
# (let's be frank: nobody's gonna use xterm on DispVM) # (let's be frank: nobody's gonna use xterm on DispVM)
hostname $name hostname $name
(grep -v "\<$name\>" /etc/hosts; echo "127.0.0.1 $name") > /etc/hosts (grep -v "\<$name\>" /etc/hosts; echo "127.0.0.1 $name localhost") > /etc/hosts
fi fi
timezone=`/usr/bin/xenstore-read qubes-timezone 2> /dev/null` timezone=`/usr/bin/xenstore-read qubes-timezone 2> /dev/null`

View File

@ -52,7 +52,7 @@ done
name=`$XS_READ name` name=`$XS_READ name`
if [ -n "$name" ]; then if [ -n "$name" ]; then
hostname $name hostname $name
(grep -v "\<$name\>" /etc/hosts; echo "127.0.0.1 $name") > /etc/hosts (grep -v "\<$name\>" /etc/hosts; echo "127.0.0.1 $name localhost") > /etc/hosts
fi fi
timezone=`$XS_READ qubes-timezone 2> /dev/null` timezone=`$XS_READ qubes-timezone 2> /dev/null`