Re-running the setup script

In the future, you may want to run the setup script again (such as when you want to come back and turn on new, advanced features). To do so, you will be able to run bash ~/myopenaps/ to start running the setup script again with those options you have selected for your current setup. (You may first want to cd ~/myopenaps && cat to see what options you have saved in there. To run it again with different options, you can copy and paste and modify that output, or you can cd ~/myopenaps && nano to change what’s saved in the file to run the next time. Make sure to change myopenaps to your openaps directory name if you chose something non-standard when you ran oref0-setup originally.)

Don’t have a runagain or want to start fresh? cd && ~/src/oref0/bin/

Because you’re re-running, remember you will need to also re-do adjustments to your preferences.json once you finish re-running setup with either of the methods above. You can do that by edit-pref.

Note: The following items are not impacted by re-running the setup script:

  • Wifi settings
  • Bluetooth tethering (assuming you have not changed the Bluetooth address you entered during the initial setup)
  • Papertrail settings (assuming you are update to the openaps directory name used in your intial setup, typically myopenaps)