14 lines
282 B
Bash
Executable File
14 lines
282 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# commands that run on 238 gateway router
|
|
|
|
function rdns() {
|
|
module_load ssh
|
|
ssh 238gater 'systemctl restart dnsmasq'
|
|
}
|
|
|
|
function ednsproxy() {
|
|
module_load ssh
|
|
ssh 238gate '/bin/bash -e "nano /opt/dnsmasq/proxy.238.kebler.net"'
|
|
#ssh 238gate 'cd /opt/dnsmasq/; ls -la'
|
|
} |