Newer
Older
Import / applications / Photoframe / Research / SMB / jags-0.22.1 / plugins / mount_share.sh
@John Ryland John Ryland on 22 Dec 2020 405 bytes import of apps from backup copy of dell-pc
#!/bin/sh
#
# (C) Daniel Sundberg 2000
# This is free software and you may do whatever
# you want to with this according to the GPL.
#
# This program requires smbclient, grep, cut & sh
# Lists the workgroups and their masterbrowsers.
#
# Args:
#
if [ -z "$1" ]; then
    echo "Usage: mount_share.sh [COMPUTER] [SHARE] [MOUNT_DIR]"
else
    mkdir -p "$3/$2"
    smbmount "//$1/$2" "$3/$2" -o guest    
fi