Fix automounts. This seems to work without locking up...
This commit is contained in:
@@ -36,7 +36,7 @@ function main()
|
||||
|
||||
# Add reference to the new file to /etc/auto_master
|
||||
if ! grep "${auto_file}" < /etc/auto_master >/dev/null; then
|
||||
echo "/- ${auto_file} -nosuid" \
|
||||
echo "/- ${auto_file}" \
|
||||
| sudo tee -a /etc/auto_master \
|
||||
> /dev/null
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user