Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nitropad-nx: use standard shutdown/reboot commands #1704

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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