]> git.ipfire.org Git - people/ms/network.git/commitdiff
Fix two missing CONFIG_DIR substitutions.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Jun 2012 20:52:56 +0000 (20:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Jun 2012 20:52:56 +0000 (20:52 +0000)
functions.ports

index 52b44e84acccd41f5fe598bf39ff96c7008dfb7d..89ab98f63b3608226209b719d644a1b66b458b83 100644 (file)
@@ -20,7 +20,7 @@
 ###############################################################################
 
 function port_dir() {
-       echo "${CONFIG_DIR}/ports"
+       echo "${NETWORK_CONFIG_DIR}/ports"
 }
 
 function ports_get_all() {
@@ -44,7 +44,7 @@ function port_file() {
 function port_exists() {
        local port=${1}
 
-       [ -f "${CONFIG_DIR}/ports/${port}" ]
+       [ -f "${NETWORK_CONFIG_DIR}/ports/${port}" ]
 }
 
 function port_get_hook() {