[BusyBox] Busybox:[-file in /usr/bin

bem b.mertke at bfad.de
Thu Jul 26 05:47:18 UTC 2001


"Vladimir N. Oleynik" wrote:

> bem wrote:
> >
> > The system starts OK. There are no abnormalities. But just after the login the
> > system says:
> > (no difference between su or user).
> >
> > BusyBox v0.53pre (2001.07.23-13:39+0000) Built-in shell (ash)
> > Enter 'help' for a list of built-in commands.
> >
> > [: 0: unknown operand
>
> >   --------------------------------------------------------------------------------
> >                       Name: rc-files.tar.gz
> >    rc-files.tar.gz    Type: Unix Tape Archive (application/x-tar)
> >                   Encoding: base64
>
> You understand, that it not those scripts.
> Please check your /etc/profile and ~root/.profile scripts or put this.
>
> --w
> vodz

Here is my /etc/profile. In ~root/ I do not have one.
Only .bash_history. It is the only file in this directory.

Thank you
Ben

-------------- next part --------------
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:
export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11R6/man:/usr/openwin/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"

# Set the default system $PATH:
PATH="$PATH:/usr/X11R6/bin:$OPENWINHOME/bin:/usr/games"

PATH="$PATH:/u/usr/bin:/u/usr/sbin"

# For non-root users, add the current directory to the search path:
if [ ! $UID = 0 ]; then
 PATH="$PATH:."
fi

# I had problems using 'eval tset' instead of 'TERM=', but you might want to 
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
 TERM=linux
fi

PS1='\h:\w\$ '
PS2='> '
ignoreeof=10
export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof

# Default umask.  A umask of 022 prevents new files from being created group
# and world writable.
umask 022

# Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
if [ "$SHELL" = "/bin/zsh" ]; then
 eval `dircolors -z`
elif [ "$SHELL" = "/bin/ash" ]; then
 eval `dircolors -s`
else
 eval `dircolors -b`
fi

alias cd..='cd ..'
alias cd/='cd /'
alias tsk='ps auwx |sort +2n'
echo


More information about the busybox mailing list