synology:pihole_synology
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| synology:pihole_synology [2020/07/15 14:17] – [Update Pi-hole] Wuff | synology:pihole_synology [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 95: | Line 95: | ||
| vi / | vi / | ||
| </ | </ | ||
| - | < | + | < |
| #!/bin/sh | #!/bin/sh | ||
| Line 101: | Line 101: | ||
| case $1 in | case $1 in | ||
| - | | + | |
| - | / | + | / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | ;; | + | ;; |
| - | stop) | + | stop) |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | / | + | / |
| - | ;; | + | ;; |
| - | restart) | + | restart) |
| - | $0 stop | + | $0 stop |
| - | sleep 1 | + | sleep 1 |
| - | $0 start | + | $0 start |
| - | ;; | + | ;; |
| - | *) | + | *) |
| - | echo " | + | echo " |
| - | ;; | + | ;; |
| esac | esac | ||
| </ | </ | ||
| Line 164: | Line 164: | ||
| cd / | cd / | ||
| git pull | git pull | ||
| - | |||
| - | #or | ||
| - | curl -L https:// | ||
| - | |||
| </ | </ | ||
synology/pihole_synology.1594819035.txt.gz · Last modified: (external edit)