-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Hardware Details #114
base: master
Are you sure you want to change the base?
Conversation
Again I apologise for my delay in taking a look at these Pulls. Got married, moved house, all super busy... anyway. I'd put the install To run the command and detect any hardware changes ( like attaching storage ) I'd keep it simple for now with a crontab entry:
But the crontab I'd create for user 'root' to avoid permissions issues. |
@@ -418,6 +418,7 @@ sudo systemctl enable log-io-file.service 2>&1 | tee -a /home/pinodexmr/debug.lo | |||
echo -e "\e[32mSetup crontab\e[0m" | |||
sleep 3 | |||
crontab /home/pinodexmr/PiNodeXMR/var/spool/cron/crontabs/pinodexmr 2>&1 | tee -a /home/pinodexmr/debug.log | |||
sudo crontab /home/pinodexmr/PiNodeXMR/var/spool/cron/crontabs/root 2>&1 | tee -a /home/pinodexmr/debug.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command runs as 'sudo' - reads the pre-made crontab file with your "lshw -short" command, and if no errors will merge it into a new crontab for running at boot.
No problem, there's no need to rush. I thought it might be helpful to know what hardware is being used. (For Support) Your changes seem to make sense :) |
Terminal (.sh) Command
sudo lshw -short > /var/www/html/hardware.txt
Only needs to be carried out once. Which file is best suited for this? @shermand100