Use apostrophe instead of quotation marks to invoke command to OpenWrt

This commit is contained in:
Albrecht Lohofener
2025-01-09 09:44:19 +01:00
parent f7725c1a02
commit 2779773d31
+2 -2
View File
@@ -78,8 +78,8 @@ fi
if [[ -z "${OPENWRT_AFTER_BOOT_CMD}" ]]; then
OPENWRT_MULTIRUN_CMD="sh -c 'sleep infinity'" # TODO: Find something better. Multirun needs something to run.
else
info "Invoke command \"${OPENWRT_AFTER_BOOT_CMD}\" into OpenWrt after it is booted"
OPENWRT_MULTIRUN_CMD="/run/run_command_after_openwrt_boot.sh \"${OPENWRT_AFTER_BOOT_CMD}\""
info "Invoke command '${OPENWRT_AFTER_BOOT_CMD}' into OpenWrt after it is booted"
OPENWRT_MULTIRUN_CMD="/run/run_command_after_openwrt_boot.sh '${OPENWRT_AFTER_BOOT_CMD}'"
fi