nm-dispatcher[...]: /etc/network/if-up.d/resolved: 12: mystatedir: not found
I think it's because of this line:
if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
mystatedir statedir ifindex interface <------------- this is interpreted as a 'mystatedir' command and fails
interface=$IFACE
if [ ! "$interface" ]; then
Perhaps the intention was to 'export mystatedir statedir ...'
Syslog error:
nm-dispatche r[...]: /etc/network/ if-up.d/ resolved: 12: mystatedir: not found
I think it's because of this line:
if systemctl is-enabled systemd-resolved > /dev/null 2>&1; then
mystatedir statedir ifindex interface <------------- this is interpreted as a 'mystatedir' command and fails
interface =$IFACE
if [ ! "$interface" ]; then
Perhaps the intention was to 'export mystatedir statedir ...'