[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Busybox:[-file in /usr/bin
From:       "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date:       2001-07-26 6:13:34
[Download RAW message or body]

bem,

> > 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.

Hmm. Slackware :-)
And you place these files on the distribution with busybox? :-0

ash not full compatibility with bash.
Please changes: 

export VAR1=value1
export VAR2=value2
to
VAR1=value1
VAR2=value2
export VAR1 VAR2

(hmm, and gain size!)

> 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

ash not set UID variable
please before this addition:

UID=`id -u`

> # 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

busybox have not tset applet!
 
> PS1='\h:\w\$ '
> PS2='> '
> ignoreeof=10
> export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof

ash have diffirent support `ignoreeof` option
 
> # 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


--w
vodz



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic