aboutsummaryrefslogtreecommitdiff
path: root/local/bin/elektroline00
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-11-01 11:10:47 +0100
committerKarel Kočí <cynerd@email.cz>2023-11-01 11:10:47 +0100
commitd7f985fa868ad5579bc861ef1a891f4dce1f724a (patch)
tree6430f13e2b77676ee7dc1f92dfae33b39f88afad /local/bin/elektroline00
parent211cebe2d4434153112ea5bf1bc62e54f0a88483 (diff)
downloadmyconfigs-d7f985fa868ad5579bc861ef1a891f4dce1f724a.tar.gz
myconfigs-d7f985fa868ad5579bc861ef1a891f4dce1f724a.tar.bz2
myconfigs-d7f985fa868ad5579bc861ef1a891f4dce1f724a.zip
elektroline00: add czelldata
Diffstat (limited to 'local/bin/elektroline00')
-rwxr-xr-xlocal/bin/elektroline003
1 files changed, 2 insertions, 1 deletions
diff --git a/local/bin/elektroline00 b/local/bin/elektroline00
index 29f303f..b06ae4e 100755
--- a/local/bin/elektroline00
+++ b/local/bin/elektroline00
@@ -19,9 +19,10 @@ while getopts "u" opt; do
done
if [ "$umount" = "n" ]; then
- sudo mkdir -p "$path"/{company,elektro_doc}
+ sudo mkdir -p "$path"/{company,elektro_doc,czelldata}
sudo mount.cifs -o username=kkoci "//Elektroline00/company" "$path/company"
sudo mount.cifs -o username=kkoci "//Elektroline00/elektro_doc" "$path/elektro_doc"
+ sudo mount.cifs -o username=kkoci "//czelldata/Share" "$path/czelldata"
else
sudo umount "$path/company" "$path/elektro_doc"
fi