small-package/diy/patches/luci-app-cifs-mount.patch

12 lines
531 B
Diff

--- a/luci-app-cifs-mount/root/etc/init.d/cifs
+++ b/luci-app-cifs-mount/root/etc/init.d/cifs
@@ -43,7 +43,7 @@ mount_natshare() {
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
+ mount -t cifs -o vers=$smbver,username=$users,password=$pwd,iocharset=$iocharset,$agm //$server/$name $natpath
}
start() {