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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-12-12 22:51:48 +01:00
parent b72d3b56de
commit 0ab2a2d48c
11 changed files with 29 additions and 43 deletions

View File

@@ -306,7 +306,7 @@ do_automount_getline()
do_automount_setline()
{
if ! [ -e $1 ]; then
cp /etc/auto.net $1
cp /var/etc/auto.net $1
fi
filename=$1
mountname=`echo "$2"|sed -e "s;---;;g"`