diff options
| author | Roy Marples <roy@marples.name> | 2017-06-13 16:07:46 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-06-13 16:07:46 +0100 |
| commit | c70efc0322e5a9457d010856040be010a1737f6b (patch) | |
| tree | 33ba570bf40e48205fad40f44341ea4f4265b4d9 /hooks | |
| parent | 82b5abc1ce9090402ff1056a5401a40cf02b38cd (diff) | |
| download | dhcpcd-c70efc0322e5a9457d010856040be010a1737f6b.tar.xz | |
Remove unused valid_path() function.
Thanks to Robert Elz.
Diffstat (limited to 'hooks')
| -rw-r--r-- | hooks/dhcpcd-run-hooks.in | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hooks/dhcpcd-run-hooks.in b/hooks/dhcpcd-run-hooks.in index 31ff6a80..076ffb2b 100644 --- a/hooks/dhcpcd-run-hooks.in +++ b/hooks/dhcpcd-run-hooks.in @@ -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. |
