mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 07:14:43 +00:00
启用 ttyd 自动登录
This commit is contained in:
@@ -22,4 +22,9 @@ Firmware-Diy() {
|
|||||||
Copy CustomFiles/system_${TARGET_PROFILE} package/base-files/files/etc/config system
|
Copy CustomFiles/system_${TARGET_PROFILE} package/base-files/files/etc/config system
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "${OP_Maintainer}/${OP_REPO_NAME}:${OP_BRANCH}" in
|
||||||
|
coolsnowwolf/lede:master)
|
||||||
|
sed -i "s?/bin/login?/usr/libexec/login.sh?g" package/feeds/packages/ttyd/files/ttyd.config
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user