-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bit dirty updates to the factory testing scripts v3
- Loading branch information
1 parent
8bcfcfa
commit 0a355af
Showing
2 changed files
with
451 additions
and
451 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
tp2bmc/board/tp2bmc/factory_overlay/upper/etc/init.d/S00nodeson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# Turn on the node power as soosn as possible | ||
# to speed up factory testing | ||
|
||
case "$1" in | ||
start|"") | ||
echo "enabled" > /sys/devices/platform/node1-power/state | ||
echo "enabled" > /sys/devices/platform/node2-power/state | ||
echo "enabled" > /sys/devices/platform/node3-power/state | ||
echo "enabled" > /sys/devices/platform/node4-power/state | ||
;; | ||
*) | ||
echo "Usage: $0 {start}" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
#!/bin/sh | ||
|
||
# Turn on the node power as soosn as possible | ||
# to speed up factory testing | ||
|
||
case "$1" in | ||
start|"") | ||
echo "enabled" > /sys/devices/platform/node1-power/state | ||
echo "enabled" > /sys/devices/platform/node2-power/state | ||
echo "enabled" > /sys/devices/platform/node3-power/state | ||
echo "enabled" > /sys/devices/platform/node4-power/state | ||
;; | ||
*) | ||
echo "Usage: $0 {start}" | ||
exit 1 | ||
;; | ||
esac | ||
|
Oops, something went wrong.