Remove the silly test for root
authorRoy Marples <roy@marples.name>
Fri, 9 Nov 2007 13:21:54 +0000 (13:21 +0000)
committerRoy Marples <roy@marples.name>
Fri, 9 Nov 2007 13:21:54 +0000 (13:21 +0000)
resolvconf

index 1e6bd2ea89c2f5239367c459158baf683990e7d2..9c630aeef927656ecbba7da25bf7fe0504256491 100755 (executable)
@@ -172,12 +172,6 @@ if [ "x${CMD}" = "x-v" ]; then
        exit 0
 fi
 
-# Only root can update resolv.conf
-if ! touch "${VARDIR}"/.test; then
-       error_exit "You must be root to run ${argv0##*/}"
-fi
-rm "${VARDIR}"/.test
-
 # Test that we have valid options
 if [ "x${CMD}" = "x-a" -o "x${CMD}" = "x-d" ]; then
        if [ -z "${IFACE}" ]; then