Package: replace ntfs-3g with ntfs3-mount, add fstrim
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
CONFIG_PACKAGE_fstrim=m
|
||||||
CONFIG_PACKAGE_igmpproxy=m
|
CONFIG_PACKAGE_igmpproxy=m
|
||||||
CONFIG_PACKAGE_node-npm=m
|
CONFIG_PACKAGE_node-npm=m
|
||||||
CONFIG_PACKAGE_smartmontools-drivedb=m
|
CONFIG_PACKAGE_smartmontools-drivedb=m
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
function merge_package(){
|
function merge_package(){
|
||||||
pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
|
pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
|
||||||
find package/ \( -type l -o -type d \) -name $pn | xargs -r rm -r
|
find package/ feeds/ \( -type l -o -type d \) -name $pn | xargs -r rm -r
|
||||||
if [ ! -z "$2" ]; then
|
if [ ! -z "$2" ]; then
|
||||||
find package/ \( -type l -o -type d \) -name $2 | xargs -r rm -r
|
find package/ feeds/ \( -type l -o -type d \) -name $2 | xargs -r rm -r
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == *'/trunk/'* ]]; then
|
if [[ $1 == *'/trunk/'* ]]; then
|
||||||
@@ -28,4 +28,6 @@ merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/luci-app-c
|
|||||||
merge_package https://github.com/coolsnowwolf/packages/trunk/kernel/ksmbd
|
merge_package https://github.com/coolsnowwolf/packages/trunk/kernel/ksmbd
|
||||||
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
|
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
|
||||||
merge_package https://github.com/Beginner-Go/luci-app-tencentddns
|
merge_package https://github.com/Beginner-Go/luci-app-tencentddns
|
||||||
merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
|
merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
|
||||||
|
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3-mount
|
||||||
|
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3
|
||||||
@@ -10,6 +10,7 @@ sed -i 's/=1/=0/g' package/kernel/linux/files/sysctl-br-netfilter.conf
|
|||||||
|
|
||||||
sed -i '/DEPENDS/ s/$/ +libcap-bin/' `find . -type f -path '*/luci-app-openclash/Makefile'`
|
sed -i '/DEPENDS/ s/$/ +libcap-bin/' `find . -type f -path '*/luci-app-openclash/Makefile'`
|
||||||
sed -i '/DEPENDS+/ s/$/ +wsdd2/' `find . -type f -path '*/ksmbd-tools/Makefile'`
|
sed -i '/DEPENDS+/ s/$/ +wsdd2/' `find . -type f -path '*/ksmbd-tools/Makefile'`
|
||||||
|
sed -i 's/ +ntfs-3g/ +ntfs3-mount/' `find . -type f -path '*/automount/Makefile'`
|
||||||
|
|
||||||
if [ $DEVICE = 'r2s' ]; then
|
if [ $DEVICE = 'r2s' ]; then
|
||||||
sed -i "s/enable '0'/enable '1'/" `find feeds/ -type f -name oled | grep config`
|
sed -i "s/enable '0'/enable '1'/" `find feeds/ -type f -name oled | grep config`
|
||||||
|
|||||||
Reference in New Issue
Block a user