How often will this run? Is the generation of /etc/resolv.conf by NM convergent? My only concern is that if the user restarts NM then this line will be echoed to resolv.conf each time.