Merge Lean's source

This commit is contained in:
CN_SZTL 2020-02-24 13:56:44 +08:00
parent e08dd4b781
commit e606d5c5a7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=automount
PKG_VERSION:=1
PKG_RELEASE:=28
PKG_RELEASE:=29
PKG_ARCH:=all
include $(INCLUDE_DIR)/package.mk
@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/automount
TITLE:=Mount autoconfig hotplug script.
MAINTAINER:=Lean
DEPENDS:=+block-mount +kmod-usb-storage +kmod-usb-storage-extras +kmod-fs-vfat +kmod-fs-ext4 +kmod-fs-exfat +antfs-mount
DEPENDS:=+block-mount +kmod-usb-storage +kmod-usb-storage-extras +kmod-fs-vfat +kmod-fs-ext4 +kmod-fs-exfat +ntfs-3g
endef
define Package/automount/description

View File

@ -18,11 +18,11 @@ gen_v2ray_config_file() {
start_v2ray_server() {
config_foreach gen_v2ray_config_file "user"
fw3 reload
fw3 reload > /dev/null 2>&1
}
stop_v2ray_server() {
fw3 reload
fw3 reload > /dev/null 2>&1
ps -w | grep "$CONFIG_PATH/" | grep -v "grep" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
}
@ -46,4 +46,4 @@ restart() {
stop
sleep 1
start
}
}