启用 ttyd 自动登录

This commit is contained in:
Hyy2001X 2021-08-03 17:01:02 +08:00
parent 146f459dac
commit ee6b2340a4
1 changed files with 5 additions and 0 deletions

View File

@ -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
} }