添加 fake-automount for D2、C5

This commit is contained in:
Hyy2001X
2022-03-23 00:46:35 +08:00
parent 334c41097c
commit d333a208ca
4 changed files with 77 additions and 3 deletions
+4
View File
@@ -66,6 +66,10 @@ Firmware_Diy() {
patch < ${CustomFiles}/${TARGET_PROFILE}_mac80211.patch -p1 -d ${Home}
Copy ${CustomFiles}/${TARGET_PROFILE}_system ${BASE_FILES}/etc/config system
sed -i "/DEVICE_COMPAT_VERSION := 1.1/d" target/linux/ramips/image/mt7621.mk
Copy ${CustomFiles}/fake-automount $(PKG_Finder d "package" automount)/files 15-automount
;;
xiaoyu_xy-c5)
Copy ${CustomFiles}/fake-automount $(PKG_Finder d "package" automount)/files 15-automount
;;
x86_64)
AddPackage git other openwrt-passwall xiaorouji main
+3 -3
View File
@@ -499,11 +499,11 @@ Copy() {
MKDIR $2
if [[ -z $3 ]]
then
ECHO "Copying $1 to $2 ..."
ECHO "[C] Copying $1 to $2 ..."
cp -a $1 $2
else
ECHO "Copying and renaming $1 to $2/$3 ..."
ECHO "[R] Copying $1 to $2/$3 ..."
cp -a $1 $2/$3
fi
[[ $? == 0 ]] && ECHO "Done" || ECHO "Failed"
[[ $? == 0 ]] && ECHO "Done"
}