summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:54:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 22:54:43 +0100
commit1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1 (patch)
treea42e744fbf2c47af45b005688bf59b62b875d0db /install-itzks-workstation
parent23bd1e0232ac0aedf2e94248aa2683cd7822026b (diff)
downloaditzks-install-script-1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1.tar.gz
itzks-install-script-1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1.tar.bz2
itzks-install-script-1405dc1831a7570f6e6fcfa0c8c56a60c13bfce1.zip
No USB drives and no cdroms/dvdroms in /etc/fstab. They conflict with GVFS.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation6
1 files changed, 6 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index e73f288..1793f6c 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -76,6 +76,12 @@ sed -i 's/NEED_GSSD=.*/NEED_GSSD=/' /etc/default/nfs-common
sed -r -i /etc/nscd.conf -e "s/(\s+)enable-cache(\s+)netgroup(\s+)yes/\1enable-cache\2netgroup\3no/"
####################
+# Make sure, no USB devices are listed in /etc/fstab
+sed -r -i /etc/fstab -e "s@^/dev/usb[0-9]+.*@@g"
+# and neither list cdrom / dvdrom drives in /etc/fstab
+sed -r -i /etc/fstab -e "s@^/dev/scd[0-9]+.*@@g"
+
+####################
# WiFi-config for NetworkManager