Enabling server mode
Bill Fink
yellowdog-general@lists.terrasoftsolutions.com
Sat, 7 Aug 2004 14:46:18 -0400
Hi,
On Fri, 06 Aug 2004, sadfsdf wrote:
> what should I use to create the hex values?(I am on a minimized console
> only linux box)
Here's one approach (using equivalent octal values).
It's as easy as 123. :-)
echo -n 123 > powerup-boot0
tr 1 '\001' < powerup-boot0 > powerup-boot1
tr 2 '\023' < powerup-boot1 > powerup-boot2
tr 3 '\001' < powerup-boot2 > powerup-boot
You can check your results with the od command:
Octal:
gwiz% od -t o1 powerup-boot
0000000 001 023 001
0000003
Hex:
gwiz% od -t x1 powerup-boot
0000000 01 13 01
0000003
You can do similar to create the powerup-off file.
-Bill