|
@@ -352,6 +352,15 @@ function upgrade_installation {
|
352
|
352
|
echo ''
|
353
|
353
|
}
|
354
|
354
|
|
|
355
|
+function disable_nfs_insecure_locks {
|
|
356
|
+ apt-get -yq install nfs-kernel-server
|
|
357
|
+ if grep 'insecure_locks' /etc/exports; then
|
|
358
|
+ sed -i 's|,insecure_locks||g' /etc/exports
|
|
359
|
+ sed -i 's|insecure_locks,||g' /etc/exports
|
|
360
|
+ exportfs -a
|
|
361
|
+ fi
|
|
362
|
+}
|
|
363
|
+
|
355
|
364
|
function setup_firewall {
|
356
|
365
|
function_check create_completion_file
|
357
|
366
|
create_completion_file
|
|
@@ -379,6 +388,9 @@ function setup_utils {
|
379
|
388
|
function_check remove_bluetooth
|
380
|
389
|
remove_bluetooth
|
381
|
390
|
|
|
391
|
+ function_check disable_nfs_insecure_locks
|
|
392
|
+ disable_nfs_insecure_locks
|
|
393
|
+
|
382
|
394
|
function_check turn_off_rsys_logging
|
383
|
395
|
turn_off_rsys_logging
|
384
|
396
|
|