modules/services/dyn-dns: specifc sane-ip-check* more irectly
This commit is contained in:
@@ -6,8 +6,8 @@ let
|
|||||||
getIp = pkgs.writeShellScript "dyn-dns-query-wan" ''
|
getIp = pkgs.writeShellScript "dyn-dns-query-wan" ''
|
||||||
# preferred method and fallback
|
# preferred method and fallback
|
||||||
# OPNsense router broadcasts its UPnP endpoint every 30s
|
# OPNsense router broadcasts its UPnP endpoint every 30s
|
||||||
timeout 60 ${pkgs.sane-scripts}/bin/sane-ip-check-upnp || \
|
timeout 60 ${pkgs.sane-scripts.ip-check-upnp}/bin/sane-ip-check-upnp || \
|
||||||
${pkgs.sane-scripts}/bin/sane-ip-check
|
${pkgs.sane-scripts.ip-check}/bin/sane-ip-check
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user