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_node-npm=m
|
||||
CONFIG_PACKAGE_smartmontools-drivedb=m
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
function merge_package(){
|
||||
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
|
||||
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
|
||||
|
||||
if [[ $1 == *'/trunk/'* ]]; then
|
||||
@@ -29,3 +29,5 @@ 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/Beginner-Go/luci-app-tencentddns
|
||||
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/$/ +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
|
||||
sed -i "s/enable '0'/enable '1'/" `find feeds/ -type f -name oled | grep config`
|
||||
|
||||
Reference in New Issue
Block a user