Skip to content

Commit fd98c8d

Browse files
committed
nitropad-nx: use standard shutdown/reboot commands
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>
1 parent 25066e5 commit fd98c8d

3 files changed

Lines changed: 0 additions & 46 deletions

File tree

initrd/bin/nitropad-shutdown.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

initrd/bin/poweroff

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ if [ "$CONFIG_TPM" = "y" ]; then
88
tpmr shutdown
99
fi
1010

11-
# Run special EC-based poweroff for Nitropad-Nxx
12-
if [ "$CONFIG_BOARD" = "nitropad-nv41" ] || [ "$CONFIG_BOARD" = "nitropad-ns50" ]; then
13-
/bin/nitropad-shutdown.sh
14-
fi
15-
1611
# Sync all mounted filesystems
1712
echo s > /proc/sysrq-trigger
1813

initrd/bin/reboot

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ if [ "$CONFIG_TPM" = "y" ]; then
1717
tpmr shutdown
1818
fi
1919

20-
# Run special EC-based poweroff for Nitropad-Nxx
21-
if [ "$CONFIG_BOARD" = "nitropad-nv41" ] || [ "$CONFIG_BOARD" = "nitropad-ns50" ]; then
22-
/bin/nitropad-shutdown.sh
23-
fi
24-
2520
# Sync all mounted filesystems
2621
echo s > /proc/sysrq-trigger
2722

0 commit comments

Comments
 (0)