]> git.ipfire.org Git - people/stevee/network.git/commitdiff
Don't test if RUN_DIR exists.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 May 2012 16:43:51 +0000 (16:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 May 2012 16:43:51 +0000 (16:43 +0000)
This directory will be created by systemd.

functions

index 6ced711ef5dca64fbbdb034b3bb39abe4c7bf0a3..3c966b9574c050a0bb6a3d19db0824143c9e3349 100644 (file)
--- a/functions
+++ b/functions
@@ -26,11 +26,6 @@ done
 # Reading in network tool configuration
 network_config_read
 
-# Create run dir
-if ! [ -d "${RUN_DIR}" ]; then
-       mkdir ${RUN_DIR}
-fi
-
 # Set colour mode
 case "${COLOURS}" in
        auto)
@@ -46,4 +41,3 @@ case "${COLOURS}" in
                warning_log "Unknown parameter given for COLOURS: ${COLOURS}"
                ;;
 esac
-