Update rootfs_script.sh

pull/1681/head
Huang jinlong 2024-12-09 19:57:56 +08:00 committed by GitHub
parent c4bab482cb
commit 2d75d5d5f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 2 deletions

View File

@ -138,8 +138,15 @@ EOF
#######################################################################################################################
# 复制 mosquitto配置
cp -rf "${GITHUB_WORKSPACE}/general/longcat-openipc/mosquitto/" "${TARGET_DIR}/etc/mosquitto"
cp "${GITHUB_WORKSPACE}/general/longcat-openipc/mqtt_pub.sh" "${TARGET_DIR}/usr/sbin/"
chmod +x "${TARGET_DIR}/usr/sbin/mqtt_pub.sh"
cp "${GITHUB_WORKSPACE}/general/longcat-openipc/mqtt_sub.sh" "${TARGET_DIR}/usr/sbin/"
chmod +x "${TARGET_DIR}/usr/sbin/mqtt_sub.sh"
cp "${GITHUB_WORKSPACE}/general/longcat-openipc/passwd" "${TARGET_DIR}/etc/mosquitto/"
#######################################################################################################################