pimoroni / clean-shutdown

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

one line installer not working #23

Closed kidkill closed 4 years ago

kidkill commented 5 years ago

When I try to run (curl https://get.pimoroni.com/cleanshutdown | bash) , I get an error saying

Checking environment... We can't connect to the Internet, check your network!

I definitely have an internet connection. Any help would be appreciated.

Gadgetoid commented 5 years ago

This is a quirk in our connectivity check- we're pinging (last I knew) Google's DNS servers to verify an internet connection. Honeslty I think we just need to drop this check altogether and check exit codes for connection failures. It's been on my TODO list for a while.

Gadgetoid commented 4 years ago

Have opened https://github.com/pimoroni/get/issues/202 to track this, since it applies across all of our "get" scripts.