From 0375e041c36556d30b7b5a3e270269a48daf0882 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 16 Sep 2019 21:52:30 +0200 Subject: Added scripts in /bin folder. --- bin/network_configuration.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bin/network_configuration.sh (limited to 'bin/network_configuration.sh') diff --git a/bin/network_configuration.sh b/bin/network_configuration.sh new file mode 100644 index 0000000..251f9a0 --- /dev/null +++ b/bin/network_configuration.sh @@ -0,0 +1,15 @@ + + +# Network Configuration + +touch /etc/hostname +echo $1 > /etc/hostname + +touch /etc/hosts +echo "" >> /etc/hosts +echo "127.0.0.1 localhost" >> /etc/hosts +echo "::1 localhost" >> /etc/hosts + +echo "Network configuration done - OK" +echo "" +sleep 1 -- cgit v1.2.3-70-g09d2