Added the unix timestamp for when the build was built to the file name
Disabled no password on the pi account for sudo actions
Fixed a stupid mistake where I piped a function into bash instead of
the void
Removed the stupid Mathematica EULA agreement
Added screen timeout adjustments
Shuffled files around to more appropriate places
Added a TODO file so that I can keep track of stuff to add
OctoPrint account is now a system account and cannnot be logged into
First-time is now in profile.d. It is now ran by getty which
automatically logs in as root on first boot and then runs the script
First-time now uses chpasswd instead of passwd (passwd is shit for this)
Changed the NoDM config so that it evaluated variables
Added OctoPrint service file
Started work on custom config tools
Browser now checks to see if OctoPrint is running before launching
browser
Fixed NoDM configuration file, now dynamically generates instead of
copying a file.
Removed swap file because this shreds through MicroSDs and isn't needed
either.
GUI has been implemented using NoDM
Some files have been shifted to more appropriate stages
Updated the name in NOOBS (although whats the point?)
OctoPrint is now built and installed
Removed LightDM as its a buggy mess
wpa_passphrase writes its error messages to stdout, so this needs to
tee so that errors are visable to user. Also need to enable pipefail
so that the error code still gets caught.
This reverts commit 1806504983.
In Buster, APT has built‐in support for HTTPS repos (since version 1.5).
The ca-certificates package is already included in the modified file, so
this commit shouldn’t break anything.
* Made more specific shellcheck disables
* Fixed variable quoting (SC2086,SC2064)
* Use `$*` expansion instead of `$@` when not using arrays (SC2124)
* Use cleaner `$()` syntax instead of back quotes (SC2006)
* Improved comparator (SC2166)
* Minor improvements in coding style
Tested clean output using: `find -name "*.sh" | xargs -n1 shellcheck -x`.