newport: Ensure system-shutdown directory exists.

This commit is contained in:
Steev Klimaszewski
2023-09-18 08:14:24 -05:00
parent b247d987f4
commit c511b66e1a

View File

@@ -96,6 +96,7 @@ rm ${work_dir}/boot/newport.script
# reboot script
status "Reboot script"
mkdir -p ${work_dir}/lib/systemd/system-shutdown/
cat <<EOF >${work_dir}/lib/systemd/system-shutdown/gsc-poweroff
#!/usr/bin/env bash
# use GSC to power cycle the system