一、
复制/home/tingpan/openwrt/barrier_breaker/feeds/luci/applications文件夹下的luci-samba文件,将文件中的内容samba改为mysamba,
"Network Shares"改为"My Network Shares"
二、
/home/tingpan/openwrt/barrier_breaker/feeds/luci/contrib/package/luci-addons中的Makefile文件添加如下内容:
$(eval $(call application,mysamba,My Network Shares - mySamba SMB/CIFS
module,mysamba36-server))
三、在luci.index添加
Package: luci-app-mysamba
Submenu: . Applications
Version: 0.12+git-222cc9c-
Depends: +libc +USE_EGLIBC:librt +USE_EGLIBC:libpthread +PACKAGE_luci-app-mysamba:mysamba36-server
Menu-Depends:
Provides:
Build-Depends: lua/host
Section: luci
Category: LuCI
Title: Network Shares - mySamba SMB/CIFS module
Maintainer: LuCI Development Team <luci@lists.subsignal.org>
Source:
Type: ipkg
Description: Network Shares - mySamba SMB/CIFS module
http://luci.subsignal.org/
LuCI Development Team <luci@lists.subsignal.org>
@@