non file skip
This commit is contained in:
parent
2e6e4a432b
commit
21dec8b17f
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ fi
|
|||
|
||||
cd /etc/credentials
|
||||
for file in *; do
|
||||
[ ! -f "$file" ] && continue
|
||||
echo "# mounting $file"
|
||||
. $file
|
||||
mount -t cifs //$domain/backup /mnt/$file -o credentials=/etc/credentials/$file
|
||||
|
|
Reference in a new issue