]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove unused valid_path() function.
authorRoy Marples <roy@marples.name>
Tue, 13 Jun 2017 15:07:46 +0000 (16:07 +0100)
committerRoy Marples <roy@marples.name>
Tue, 13 Jun 2017 15:07:46 +0000 (16:07 +0100)
Thanks to Robert Elz.

hooks/dhcpcd-run-hooks.in

index 31ff6a80ae6b5862ab194f2434c0fb4b2f7927ed..076ffb2b81dd49dbaafd51e09967a397fe9d6031 100644 (file)
@@ -229,16 +229,6 @@ valid_domainname_list()
        return 0
 }
 
-# Check for a valid path
-valid_path()
-{
-
-       case "$@" in
-       *[![:alnum:]#%+-_:\.,@~\\/\[\]=\ ]*) return 1;;
-       esac
-       return 0
-}
-
 # With the advent of alternative init systems, it's possible to have
 # more than one installed. So we need to try and guess what one we're
 # using unless overriden by configure.