File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ cp -rf openwrt_snap/include/package.mk /tmp/package.mk.bak
7070cp -rf openwrt_snap/include/kernel.mk /tmp/kernel.mk.bak
7171cp -rf openwrt_snap/scripts/metadata.pm /tmp/metadata.pm.bak
7272cp -rf openwrt/package/libs/toolchain/Makefile /tmp/Makefile.bak
73+ cp -rf openwrt/package/system/procd /tmp/procd.bak
74+ cp -rf openwrt/package/libs/libubox /tmp/libubox.bak
7375find openwrt/package/* -maxdepth 0 ! -name ' firmware' ! -name ' kernel' ! -name ' base-files' ! -name ' Makefile' -exec rm -rf {} +
7476rm -rf ./openwrt_snap/package/firmware ./openwrt_snap/package/kernel ./openwrt_snap/package/base-files ./openwrt_snap/package/Makefile
7577cp -rf ./openwrt_snap/package/* ./openwrt/package/
@@ -79,6 +81,10 @@ cp -rf /tmp/kernel.mk.bak ./openwrt/include/kernel.mk
7981cp -rf /tmp/metadata.pm.bak ./openwrt/scripts/metadata.pm
8082cp -rf /tmp/Makefile.bak ./openwrt/package/libs/toolchain/Makefile
8183cp -rf ./openwrt_snap/feeds.conf.default ./openwrt/feeds.conf.default
84+ rm -rf openwrt/package/system/procd
85+ cp -rf /tmp/procd.bak ./openwrt/package/system/procd
86+ rm -rf openwrt/package/libs/libubox
87+ cp -rf /tmp/libubox.bak ./openwrt/package/libs/libubox
8288
8389# 退出脚本
8490exit 0
You can’t perform that action at this time.
0 commit comments