append to /etc/hosts
This commit is contained in:
parent
57e9c09714
commit
b19849a1dc
1 changed files with 4 additions and 2 deletions
|
@ -275,7 +275,8 @@ if [ \$DEVICE = "gta01" ]; then
|
||||||
echo "Appending sound module."
|
echo "Appending sound module."
|
||||||
echo "snd-soc-neo1973-wm8753" > /etc/modules
|
echo "snd-soc-neo1973-wm8753" > /etc/modules
|
||||||
echo "Configuring host alias."
|
echo "Configuring host alias."
|
||||||
cat > /etc/hosts << __HOSTS__
|
cat >> /etc/hosts << __HOSTS__
|
||||||
|
127.0.0.1 gta01
|
||||||
192.168.0.199 host01 host
|
192.168.0.199 host01 host
|
||||||
192.168.0.200 host02
|
192.168.0.200 host02
|
||||||
192.168.0.201 gta01 neo
|
192.168.0.201 gta01 neo
|
||||||
|
@ -290,7 +291,8 @@ else
|
||||||
echo "Appending sound module."
|
echo "Appending sound module."
|
||||||
echo "snd-soc-neo1973-gta02-wm8753" > /etc/modules
|
echo "snd-soc-neo1973-gta02-wm8753" > /etc/modules
|
||||||
echo "Configuring host alias."
|
echo "Configuring host alias."
|
||||||
cat > /etc/hosts << __HOSTS__
|
cat >> /etc/hosts << __HOSTS__
|
||||||
|
127.0.0.1 gta02
|
||||||
192.168.0.199 host01
|
192.168.0.199 host01
|
||||||
192.168.0.200 host02 host
|
192.168.0.200 host02 host
|
||||||
192.168.0.201 gta01
|
192.168.0.201 gta01
|
||||||
|
|
Loading…
Reference in a new issue