mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
4d46f75d45
- samba4 config file path: /etc/config/samba4 - samba4 config name: samba4 - samba4 init path: /etc/init.d/samba4 (cherry picked from commit 9ab9dbfb85875a4e239da2adaf45d04c9b83f810)
36 lines
720 B
Makefile
36 lines
720 B
Makefile
#
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=autosamba
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=12
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/autosamba
|
|
TITLE:=Samba autoconfig hotplug script.
|
|
MAINTAINER:=Lean
|
|
DEPENDS:=+luci-app-samba4 +wsdd2
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/autosamba/description
|
|
A hotplug script to config Samba share automatically.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/autosamba/install
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/block
|
|
$(INSTALL_BIN) ./files/20-smb $(1)/etc/hotplug.d/block/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,autosamba))
|