Connecting to NAS

This commit is contained in:
AquaMorph committed 2019-07-21 16:30:30 -04:00
1 parent 4c031c7dec
commit 34cea0c7c8
4 files changed
+15 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#! /bin/bash
# Load user settings from config file.
. ~/.config/settings.conf
if nc -z $nasip 80 2>/dev/null; then
mount /mnt/share/nas
else
echo "$nasip is unreachable"
fi