pimoroni / clean-shutdown

Python daemon to watch a GPIO pin and trigger a clean shutdown.
MIT License
126 stars 39 forks source link

Updated script/config may not work with installer, defaults confusing #21

Closed Gadgetoid closed 5 years ago

Gadgetoid commented 5 years ago

See: https://forums.pimoroni.com/t/onoff-shim-working-config/10086

The default values listed in the configuration file only apply to one of the handful of boards this script supports. Need to:

  1. Update the comments in the config file to document the correct defaults for each board
  2. Fix the setup.sh to ensure it correctly replaces values and uncomments config lines