From cc6186acc137d788bf36339740aab264db241198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Schl=C3=BCter?= Date: Tue, 30 Jan 2018 15:14:12 +0100 Subject: Remove obsolete parts from script. --- install-itzks-workstation | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'install-itzks-workstation') diff --git a/install-itzks-workstation b/install-itzks-workstation index ad92b68..5fa673b 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -62,57 +62,17 @@ esac #################### -# FIXME: this should be scripted; manage with puppet instead -#read -p '''! Änderung in Network-Interfaces -#Ändere die bestehenden Einträge für eth0 auf -# -# #NetworkManager iface eth0 inet dhcp -# -#Starte nun den Editor mit [Enter] -#''' -#editor /etc/network/interfaces - # Alternate: scripted edit to /etc/network/interfaces when script is run sed -i 's/auto eth0//' /etc/network/interfaces sed -i 's/iface eth0 inet dhcp/#NetworkManager iface eth0 inet dhcp/' /etc/network/interfaces #################### -# FIXME: this should be scripted; manage with puppet instead -#read -p '''! Änderung in NFS-Common -#Ändere die Datei /etc/default/nfs-common am Ende: -# NEED_GSSD= (leer lassen) -#Starte nun den Editor mit [Enter] -#''' -#editor /etc/default/nfs-common - # Alternate: scripted edit to /etc/default/nfs-common when script is run sed -i 's/NEED_GSSD=.*/NEED_GSSD=/' /etc/default/nfs-common #################### -# Add system-wide WiFi-config -# echo '! WIFI-Netzwerk hinzufügen' -# read -p 'Wie lautet die SSID? ' ssid -# read -p 'Wie lautet das zugehörige Passwort? ' passw -# export WIFIDEV=wlan0 -# wpa_passphrase $ssid $passw >> /etc/wpa_supplicant/wpa_supplicant-$WIFIDEV.conf - -# Alternate: Check for WiFi-Interface before asking for SSID and PW - -#FOUND=`iwconfig | grep "IEE 802.11"` -#WIFIDEV=$(echo "$FOUND" | awk '{print $1}') - -# FIXME: this works for systemd-networkd, but not for NetworkManager -#if [ -n "$FOUND" ]; then -# export WIFIDEV -# # Add system-wide WiFi-config -# echo '! WIFI-Netzwerk hinzufügen' -# read -p 'Wie lautet die SSID? ' ssid -# read -p 'Wie lautet das zugehörige Passwort? ' passw -# wpa_passphrase $ssid $passw >> /etc/wpa_supplicant/wpa_supplicant-$WIFIDEV.conf -#fi - # Alternate WiFi-config for NetworkManager # Write standard config -- cgit v1.2.3