Mediagate MG35

 

hush

Page history last edited by John 1 yr ago

hush

Version: 1.10.0.0

Status: Ported

 


 

Description

 

Hush is the Hyper-Utility SHell from busybox-1.10. This is an advanced shell with pipes/redirects, jobs, condition (if) and loop (while) constructs, local variables, backticks, and positional parameters.

 

~ # FOO=`expr 2 + 2`

~ # if [ "$FOO" == "4" ] then echo "OK"; fi

OK

 

Commands

Built-in commands:
-------------------
[       Test condition
[[      Test condition
cd      Change working directory
echo    Write strings to stdout
eval    Construct and run shell command
exec    Exec command, replacing this shell with the exec'd process
exit    Exit from shell
export  Set environment variable
pwd     Print current directory
read    Input environment variable
set     Set/unset shell local variables
shift   Shift positional parameters
test    Test condition
umask   Sets file creation mask
unset   Unset environment variable
.       Source-in and run commands in a file
help    List shell built-in commands

 

History

 

Comments

  • VB: any idea what's wrong here? I'm using the latest hush from SVN.

 

/var/bin> ls -l /bin/filep*
-rwxr-xr-x    1 root     root           51 Jun 29 03:25 /bin/fileplayer.bin
/var/bin> cat /bin/fileplayer.bin
#!/bin/hush
/usr/rbin/mp3play /cdrom/00Twain.mp3
/var/bin> /bin/fileplayer.bin
/bin/fileplayer.bin: No such file or directory
    • John: When was this?
      • VB: pretty recent, less then 2 weeks ago. Firmware 1.5.2_b2, and the latest hush at the time.
        • John: Have you ruled out unionfs as the cause?

Comments (0)

You don't have permission to comment on this page.