3 if [ "$(uname)" = "OpenBSD" ]; then
4 hostname openbsd
&& echo "openbsd" > /etc
/myname
&&\
5 printf "127.0.0.1\topenbsd\tlocalhost\n::1\t\topenbsd\tlocalhost\n" > /etc
/hosts
7 elif [ "$(uname)" = "Linux" ]; then
8 hostname alien
&& echo "alien" > /etc
/hostname
&&\
9 printf "127.0.0.1\talien\tlocalhost\n::1\t\talien\tlocalhost\n" > /etc
/hosts