Skip to content

Commit

Permalink
Add a 'shutdown' handler to the busybox inittab
Browse files Browse the repository at this point in the history
  • Loading branch information
struanb committed Apr 24, 2023
1 parent 993f7b5 commit a668d80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runcvm-scripts/runcvm-vm-init
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ null::respawn:/opt/runcvm/scripts/runcvm-vm-qemu-ga
null::respawn:/opt/runcvm/usr/sbin/dropbear -REF -A /opt/runcvm/lib64/tmp/dropbear/libepka_file.so,/.runcvm/dropbear/epka.json -P /.runcvm/dropbear/dropbear.pid
null::ctrlaltdel:/opt/runcvm/bin/poweroff
null::restart:/opt/runcvm/bin/poweroff
null::shutdown:/opt/runcvm/bin/poweroff
_EOE_

# Allow runcvm-vm-start to runs once (and only once)
Expand Down

0 comments on commit a668d80

Please sign in to comment.