Skip to content

Commit

Permalink
luci-app-cifs-mount: fix CIFS mount from Synology
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonRan committed Dec 17, 2024
1 parent 55d4b68 commit 97d713b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/luci-app-cifs-mount/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LUCI_PKGARCH:=all

PKG_NAME:=luci-app-cifs-mount
PKG_VERSION:=1
PKG_RELEASE:=7
PKG_RELEASE:=8

include ../../luci.mk

Expand Down
4 changes: 2 additions & 2 deletions applications/luci-app-cifs-mount/root/etc/init.d/cifs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ mount_natshare() {
config_get smbver $1 smbver

mkdir -p $natpath && chmod 777 $natpath
#echo "mount -t cifs -o vers=$smbver,user=$users,password=$pwd,iocharset=$iocharset,$agm //$server/$name $natpath"
mount -t cifs -o vers=$smbver,user=$users,password=$pwd,iocharset=$iocharset,$agm //$server/$name $natpath
#echo "mount -t cifs -o vers=$smbver,user=$users,username=$users,pass=$pwd,password=$pwd,iocharset=$iocharset,$agm //$server/$name $natpath"
mount -t cifs -o vers=$smbver,user=$users,username=$users,pass=$pwd,password=$pwd,iocharset=$iocharset,$agm //$server/$name $natpath
}

start() {
Expand Down

0 comments on commit 97d713b

Please sign in to comment.