Skip to content

Commit

Permalink
autosamba: fix re-mount
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Oct 28, 2019
1 parent 8f156f0 commit 5f42c97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package/lean/autosamba/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=autosamba
PKG_VERSION:=1
PKG_RELEASE:=9
PKG_RELEASE:=10
PKG_ARCH:=all

include $(INCLUDE_DIR)/package.mk
Expand Down
1 change: 0 additions & 1 deletion package/lean/autosamba/files/20-smb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ case "$ACTION" in
auto=`uci get samba.@sambashare[$i].auto`
[ $auto = "1" ] && {
mount_dir=`uci get samba.@sambashare[$i].name`
rm -rf /mnt/$device /mnt/$mount_dir
uci delete samba.@sambashare[$i]
uci commit
/etc/init.d/samba reload
Expand Down

0 comments on commit 5f42c97

Please sign in to comment.