summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
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