Skip to content

Conversation

@jsmurray1
Copy link
Contributor

@jsmurray1 jsmurray1 commented Aug 20, 2017

An attmept to reduce problems on Pi based rigs by moving Edison references to the Explorer If/Then section of the setup. Also edited openaps-install.sh to add a user check for user edison before attempting to adduser edison to sudo and dialout groups. Please take a close look at this as this is my first attempt at modifying code and using the Github workflow.

An attmept to reduce problems on Pi based rigs by moving Edison references to the Explorer If/Then section of the setup.
Copy link
Contributor

@PieterGit PieterGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The crontab lines must be in the crontab context of the oref0-setup.sh. Otherwise if the users cleans the crontab, the EdisonVoltage stuff won't enabled if the users lets oref0-setup.sh clear the crontab.

Copy link
Contributor

@scottleibrand scottleibrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would preemptively install Edison stuff even before the user says Y to continue with the install. We instead need to do so after that prompt, based on the ttyport containing spidev5.1.

@jsmurray1
Copy link
Contributor Author

jsmurray1 commented Aug 20, 2017

Changed methodology. Added if statements and a global explorer1 variable to track whether install is done on an Explorer or not. I'm sure there's a better way? But I think this should fix the concerns/observations noted by Pieter and Scott above.

@scottleibrand
Copy link
Contributor

Ready to merge this to dev as soon as someone tests it (or is ready to do so in dev).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants