mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 08:20:11 +00:00
添加 fake-automount for D2、C5
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user