minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/fwdxvbsvgbjqlk3dy2vpb2why3mdpnd6-openresolv-3.13.2/libexec/resolvconf
Shell evaluates variable commandShell command redirects output to file
SHA-256d660234adf64a98e53c6f1c092200c10efc0c6da3e05bc75c101f23aa77a8032
MaleculeH₂(FPo₂)
Evidence
1#!/bin/sh
2# Copyright (c) 2009-2023 Roy Marples
3# All rights reserved
4
5# PowerDNS Recursor subscriber for resolvconf
6
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10# * Redistributions of source code must retain the above copyright
11# notice, this list of conditions and the following disclaimer.
12# * Redistributions in binary form must re …
27:58… SUCH DAMAGE.
28
29[ -f "/etc"/resolvconf.conf ] || exit 0
30. "/etc/resolvconf.conf" || exit 1
31[ -z "$pdns_zones" ] && exit 0
32[ -z "$RESOLVCONF" ] && eval "$(/nix/store/fwdxvbsvgbjqlk3dy2vpb2why3mdpnd6-openresolv-3.13.2/sbin/resolvconf -v)"
33NL="
34"
⋯26 lines
63:31…
64 [ "$(cat "$pdns_zones")" != "$(printf %s "$newzones")" ]
65then
66 printf %s "$newzones" >"$pdns_zones"
67 if [ -n "$pdns_restart" ]; then
68 eval $pdns_restart
69 elif [ -n "$RESTARTCMD" ]; then
70 set -- ${pdns_service}
71 eval "$RESTARTCMD"
72 else
73 /nix/store/fwdxvbsvgbjqlk3dy2vpb2why3mdpnd6-openresolv-3.13.2/sbin/resolvconf -r ${pdns_service}
74 fi
75fi