Changeset 2543

Show
Ignore:
Timestamp:
05/31/07 19:58:46 (2 years ago)
Author:
hollow
Message:

fix TERM for colored output

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/distrib/gentoo/init-vserver.sh

    r2542 r2543  
    2626# Force TERM=linux for baselayout-2 
    2727 
    28 export TERM=linux 
    2928RUNLEVEL=1 /sbin/rc sysinit || exit 1 
    3029/sbin/rc boot || exit 1 
  • trunk/scripts/vserver.functions

    r2538 r2543  
    304304            test -n "$RUNLEVEL_START" || RUNLEVEL_START="default" 
    305305 
    306             INITCMD_START=( /lib/rcscripts/sh/init-vserver.sh "$RUNLEVEL_START" ) 
    307             INITCMD_STOP=( env -i RUNLEVEL=0 /sbin/rc shutdown ) 
     306            INITCMD_START=( env TERM=$TERM /lib/rcscripts/sh/init-vserver.sh "$RUNLEVEL_START" ) 
     307            INITCMD_STOP=( env -i TERM=$TERM RUNLEVEL=0 /sbin/rc shutdown ) 
    308308            INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp ) 
    309309            ;;