Enabling server mode

Bill Fink yellowdog-general@lists.terrasoftsolutions.com
Sun, 8 Aug 2004 20:23:45 -0400


Hi Daniel,

On Sun, 08 Aug 2004, Daniel Gimpelevich wrote:

> What's wrong with simply this?
> echo -ne "\x01\x13\x01" > powerup-boot

You learn something new every day.  I didn't know that you could
do that with echo.  However, the form you gave apparently only
works with the built-in echo when using bash as your shell.

However, there is an equivalent using the system echo and octal
values:

	/bin/echo -ne "\001\023\001" > powerup-boot

Note the "/bin/echo" is required to force use of the system echo
as opposed to the built-in echo from your shell such as bash or
tcsh.

						-Bill