Skip to content

Commit

Permalink
nitropad-nx: use standard shutdown/reboot commands
Browse files Browse the repository at this point in the history
This commit effectively reverts commits a1c13ff and 902866c. There is
no need for this special EC-based poweroff command. See more details in
issue linked below.

Fixes: Dasharo/dasharo-issues#711

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
  • Loading branch information
macpijan committed Jun 20, 2024
1 parent 7015e6e commit 0fb3886
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
36 changes: 0 additions & 36 deletions initrd/bin/nitropad-shutdown.sh

This file was deleted.

5 changes: 0 additions & 5 deletions initrd/bin/poweroff
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ if [ "$CONFIG_TPM" = "y" ]; then
tpmr shutdown
fi

# Run special EC-based poweroff for Nitropad-Nxx
if [ "$CONFIG_BOARD" = "nitropad-nv41" ] || [ "$CONFIG_BOARD" = "nitropad-ns50" ]; then
/bin/nitropad-shutdown.sh
fi

# Sync all mounted filesystems
echo s > /proc/sysrq-trigger

Expand Down
5 changes: 0 additions & 5 deletions initrd/bin/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ if [ "$CONFIG_TPM" = "y" ]; then
tpmr shutdown
fi

# Run special EC-based poweroff for Nitropad-Nxx
if [ "$CONFIG_BOARD" = "nitropad-nv41" ] || [ "$CONFIG_BOARD" = "nitropad-ns50" ]; then
/bin/nitropad-shutdown.sh
fi

# Sync all mounted filesystems
echo s > /proc/sysrq-trigger

Expand Down

0 comments on commit 0fb3886

Please sign in to comment.