-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add config settings for low-battery shutdown thresholds Adds a pair of config settings for low-battery shutdown thresholds. One config setting is for Edison (denominated in millivolts), the other is for Pi (given as percentage). This config setting is needed for USB-powered Pi rigs, where the battery level indicator just returns a random number, which might occasionally be zero. * If unable to update with git pull, prompt before aborting This is mainly for convenience during development; a checkout in some weird branch doesn't necessarily return success when you "git pull", but that doesn't necessarily mean you want to abort oref0-runagain.sh. * Fix bug that would clobber sshd_config Depending on the initial contents of sshd_config, this would sometimes try to add a line to it, but instead completely overwrite it to contain only that line. * Extend timeout on JS syntax check unit tests On Pi Zero hardware, these tests would sometimes time out because starting the nodejs interpreter is slow (even with a fixed nodejs interpreter). Extend the timeout to 4s, from the default of 2s, so they pass. * Clean up require() usage in IOB unit test, making it pass without timeout on Pi Zero * Add bash-unit-test-temp to gitignore * Check for bad (super slow) RPi nodejs versions, install nvm version if found * Tweak log messages about battery level
- Loading branch information
1 parent
1954758
commit 1ec3528
Showing
7 changed files
with
125 additions
and
66 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -25,3 +25,6 @@ bin/__pycache__ | |
package-lock.json | ||
|
||
*.pyc | ||
|
||
bash-unit-test-temp | ||
|
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
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
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
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
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
Oops, something went wrong.