mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2026-11-03 08:17:59 +00:00
Connecting to NAS
This commit is contained in:
1 parent
4c031c7dec
commit
34cea0c7c8
4 files changed
+15
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user