PiPass / blockpage

A temporary unblock solution and blockpage for your Pi-Hole system
BSD 3-Clause "New" or "Revised" License
196 stars 14 forks source link

sudo: /dev/fd/63: command not found #42

Closed iroQuai closed 5 years ago

iroQuai commented 5 years ago

I've got trouble trying to use update my PiPass v1.3.

When I use the line as mentioned in the release notes (this one: <(wget -qO- https://kubrick.roen.us/pipass/scr ipts/install.sh) ) I get the following error: sudo: /dev/fd/63: command not found

Anyone has an idea what I can do differently?

roenw commented 5 years ago

You need to execute the command in its entirety. bash <(wget -qO- https://kubrick.roen.us/pipass/scripts/install.sh)

iroQuai commented 5 years ago

This is the result I get:

pi@pihole:~ $ sudo bash <(wget -qO- https://kubrick.roen.us/pipass/scripts/install.sh)

bash: /dev/fd/63: No such file or directory

roenw commented 5 years ago

There’s no need to append sudo. The script will automatically elevate its system permissions. I got the same error while adding sudo.

The way this command is structured allows us to execute an interactive shell script, so the command must be executed exactly as its printed.