]> git.ipfire.org Git - network.git/commitdiff
Remove option to disable coloured output.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Jun 2012 22:52:30 +0000 (22:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Jun 2012 22:52:30 +0000 (22:52 +0000)
functions
functions.constants

index 5b592bf0efc79ca50c8652fcc5f722bb0817d881..c596286468f9d3c9438130feadafe827dd99f08b 100644 (file)
--- a/functions
+++ b/functions
@@ -41,19 +41,3 @@ done
 
 # Reading in global configuration files
 config_read_globals
-
-# Set colour mode
-case "${COLOURS}" in
-       auto)
-               colours_auto_disable
-               ;;
-       off|0)
-               colours_disable
-               ;;
-       on|1)
-               # Do nothing
-               ;;
-       *)
-               warning_log "Unknown parameter given for COLOURS: ${COLOURS}"
-               ;;
-esac
index 6b33e8664dda110b2d3c326f9a1c6d9074f685b7..ffb788b725ef29d0cf42d85f9a93a9ced58d0e9a 100644 (file)
@@ -22,9 +22,6 @@
 # Set gettext text domain.
 TEXTDOMAIN="network"
 
-# Enable colors by default
-COLOURS="auto"
-
 LOG_DIR=/var/log/network
 RUN_DIR=/run/network
 
@@ -38,7 +35,7 @@ NETWORK_HOOKS_DIR=/usr/lib/network/hooks
 
 # Network file configuration.
 NETWORK_CONFIG_FILE=${NETWORK_CONFIG_DIR}/config
-NETWORK_CONFIG_FILE_PARAMS="COLOURS DEBUG"
+NETWORK_CONFIG_FILE_PARAMS="DEBUG"
 CONFIG_HOSTNAME="/etc/hostname"
 
 RED_DB_DIR=${RUN_DIR}/red