File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if [ "$CONFIG_TPM" = "y" ]; then
9
9
fi
10
10
11
11
# Run special EC-based poweroff for Nitropad-Nxx
12
- if [ " ${ CONFIG_BOARD% _ * } " = nitropad-nv41 || " ${ CONFIG_BOARD% _ * } " = nitropad-ns51 ]; then
12
+ if [ " $CONFIG_BOARD " = " nitropad-nv41" ] || [ " $ CONFIG_BOARD" = " nitropad-ns50 " ]; then
13
13
/bin/nitropad-shutdown.sh
14
14
fi
15
15
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if [ "$CONFIG_TPM" = "y" ]; then
18
18
fi
19
19
20
20
# Run special EC-based poweroff for Nitropad-Nxx
21
- if [ " ${ CONFIG_BOARD% _ * } " = nitropad-nv41 ] || [ " ${ CONFIG_BOARD% _ * } " = nitropad-ns51 ]; then
21
+ if [ " $CONFIG_BOARD " = " nitropad-nv41" ] || [ " $CONFIG_BOARD " = " nitropad-ns50 " ]; then
22
22
/bin/nitropad-shutdown.sh
23
23
fi
24
24
You can’t perform that action at this time.
0 commit comments