Compare commits
4 Commits
16eb7e8565
...
c1bad5f7ff
Author | SHA1 | Date |
---|---|---|
|
c1bad5f7ff | |
|
fbad56f05c | |
|
c376609896 | |
|
a8ae765f03 |
|
@ -327,7 +327,7 @@ Options:
|
||||||
--dns <ip>|<port>|<ip:port>
|
--dns <ip>|<port>|<ip:port>
|
||||||
DNS server's upstream DNS.
|
DNS server's upstream DNS.
|
||||||
Use ',' to seperate multiple servers
|
Use ',' to seperate multiple servers
|
||||||
(default: use /etc/resolve.conf)
|
(default: use /etc/resolv.conf)
|
||||||
(Note IPv6 addresses need '[]' around)
|
(Note IPv6 addresses need '[]' around)
|
||||||
--no-dns Do not serve DNS
|
--no-dns Do not serve DNS
|
||||||
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
||||||
|
@ -453,7 +453,6 @@ Visit [**my homepage** 🏡](https://garywill.github.io) to see **more tools and
|
||||||
## TODO
|
## TODO
|
||||||
- WPA3
|
- WPA3
|
||||||
- Global IPv6
|
- Global IPv6
|
||||||
- Explictly ban forwarding if not needed
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ Options:
|
||||||
--dns <ip>|<port>|<ip:port>
|
--dns <ip>|<port>|<ip:port>
|
||||||
DNS server's upstream DNS.
|
DNS server's upstream DNS.
|
||||||
Use ',' to seperate multiple servers
|
Use ',' to seperate multiple servers
|
||||||
(default: use /etc/resolve.conf)
|
(default: use /etc/resolv.conf)
|
||||||
(Note IPv6 addresses need '[]' around)
|
(Note IPv6 addresses need '[]' around)
|
||||||
--no-dns Do not serve DNS
|
--no-dns Do not serve DNS
|
||||||
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
--no-dnsmasq Disable dnsmasq server (DHCP, DNS, RA)
|
||||||
|
@ -862,7 +862,7 @@ get_pid_by_dbus_name() {
|
||||||
|
|
||||||
which dbus-send >/dev/null 2>&1 || return 1
|
which dbus-send >/dev/null 2>&1 || return 1
|
||||||
|
|
||||||
pid="$( dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:$DBUS_NAME | grep " uint32 " | awk '{print $2}' )" 2>/dev/null
|
pid="$( dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:$DBUS_NAME 2>/dev/null | grep " uint32 " | awk '{print $2}' )"
|
||||||
r=$?
|
r=$?
|
||||||
|
|
||||||
echo "$pid"
|
echo "$pid"
|
||||||
|
|
Loading…
Reference in New Issue