install files for nextdns
This commit is contained in:
parent
ab1864bcbf
commit
e506dec095
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
pw
|
||||||
|
nextdns.conf
|
7
install.sh
Executable file
7
install.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
export NEXTDNS_PASSWORD=$(cat pw)
|
||||||
|
|
||||||
|
sshpass -p $NEXTDNS_PASSWORD scp nextdns_install.sh root@192.168.1.1:/root/nextdns_install.sh
|
||||||
|
sshpass -p $NEXTDNS_PASSWORD scp nextdns.conf root@192.168.1.1:/data/nextdns.conf
|
||||||
|
sshpass -p $NEXTDNS_PASSWORD ssh root@192.168.1.1 "chmod +x /root/nextdns_install.sh && /root/nextdns_install.sh install"
|
1150
nextdns_install.sh
Executable file
1150
nextdns_install.sh
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user