mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
script to install pihole doesn't work on Debian9
This commit is contained in:
parent
607df111af
commit
71ac240cac
1 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,13 @@
|
|||
#!/bin/sh
|
||||
if [ -f /etc/os-release ]; then
|
||||
. /etc/os-release
|
||||
else
|
||||
. /usr/lib/os-release
|
||||
fi
|
||||
if [ "$ID" = "debian" ] && [ "$VERSION_ID" = "9" ]; then
|
||||
echo "This script doesn't work with Debian Stretch (9.x)"
|
||||
exit 1
|
||||
fi
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
echo "You can select any interface and set any IPs during Pi-hole configuration, this will be modified for OpenMPTCProuter at the end."
|
||||
echo "Don't apply Pi-hole firewall rules."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue