Comments (5)
Try downloading the raw format instead of the regular file:
https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
from pi-hole.
pi@ rp1 /usr/local/bin $ sudo wget https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
--2015-08-27 13:43:06-- https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.40.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5701 (5.6K) [text/plain]
Saving to: `gravity.sh'
100%[====================================================================================================================>] 5,701 --.-K/s in 0.006s
2015-08-27 13:43:11 (987 KB/s) - `gravity.sh' saved [5701/5701]
pi@ rp1 /usr/local/bin $ sudo sh gravity.sh
gravity.sh: 9: gravity.sh: Syntax error: "(" unexpected
pi@ rp1 /usr/local/bin $
from pi-hole.
It still works for me. It looks like you're using sh
and this is a bash
script so maybe there is some small difference? Also, are you running Raspbian or something else?
from pi-hole.
bash indeed. It works.
Yes, I am using Raspbian.
Thank you for your flash reply.
pi@ rp1 /usr/local/bin $ sudo bash gravity.sh
** Neutrino emissions detected...
** Current swap size is 100
** Creating more swap space to accomodate large solar masses...
want /var/swap=500MByte, checking existing: deleting wrong size file (104857600), generating swapfile ... of 500MBytes
Getting adaway.org list...
Skipping adblock.gjtech.net list because it does not have any new entries...
Getting adblock.mahakala.is list...
from pi-hole.
Solid. Glad it works.
from pi-hole.
Related Issues (20)
- FTL database shouldn't be readable by unprivileged users HOT 6
- Raspberry Pi 5 having trouble binding interfaces when using NetworkManager HOT 1
- Update of pi-hole not possible on Linuxmint 6 (Debian) HOT 2
- pihole -v shows update available but pihole -up doesn't HOT 6
- Default list author fine with breaking functionality -- suggest finding alternative HOT 4
- Dashboard hanging HOT 1
- Consider NOT rate-limiting queries from the local router HOT 4
- Update (pihole -up) fails as installer (basic-install.sh) bypasses local DoH proxy HOT 3
- DHCP static reservation will not reset when changed. HOT 1
- v6: documentation on PUT /clients/ is not complete HOT 3
- Pihole stop working at all after reboot. Can't access internet by itself HOT 3
- pihole -up Banana Pi M1 not working HOT 2
- OS Detection saying supported OS is not Supported HOT 9
- "Restart DNS resolver" required every few days to make browsing work again! HOT 42
- crash on internet outage HOT 2
- fails to install in nobara linux(fedora 39) HOT 7
- wasabisys.com always gets N/A reply; perhaps due to absurd reply that canβt be handled? HOT 2
- Using "IP/admin" page for admin interface returns a blank/clear/white page. HOT 1
- Logfiles under /etc/pihole HOT 1
- Teleporter does not restore DHCP server enabled state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-hole.