Replaced whiptail with dialog since dialog has more features and looks
nicer imo
OctoPrint has been moved to /srv/octoprint
There is now an OctoPrint group as well as an OctoPrint user
First-time will now ask if you want to preinstall some curated plugins
Added warning advising end users that this is nowhere near production
ready.
Added more stuff to TODO
README improvements
Timestamps in the build now grab the time at the beginning of the build,
instead of the end
Sudoers file didn't use chroot path
Rearranged octo-config into first-time folder and renamed first-time
folder to utils
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
Exposed RELEASE as a configurable variable and updated README.md. As a
bonus, there is only on place to change the release name when the next
release is stable now.
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.