allow /var/etc/fstab and /var/etc/autofs.* only for netfs setup

Origin commit data
------------------
Commit: 5a0c4bb181
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-12-12 (Thu, 12 Dec 2019)

Origin message was:
------------------
- allow /var/etc/fstab and /var/etc/autofs.* only for netfs setup
This commit is contained in:
vanhofen
2019-12-12 22:51:48 +01:00
parent bb14b8d38f
commit 0e688b02cf
11 changed files with 29 additions and 43 deletions

View File

@@ -55,8 +55,8 @@ case "$1" in
if [ -e /etc/smb.conf ]; then
do_cmd 'Samba Server configuration' cat /etc/smb.conf
fi
if [ -e /etc/auto.net ]; then
do_cmd 'auto mounter configuration' cat /etc/auto.net
if [ -e /var/etc/auto.net ]; then
do_cmd 'auto mounter configuration' cat /var/etc/auto.net
fi
fi
;;