[BusyBox] ash running /etc/profile when started from inittab, take II
rich_wilson at agilent.com
rich_wilson at agilent.com
Mon Jul 22 09:33:03 UTC 2002
Sometimes it seems that the simpler the command, the more difficult
it is to get it right.
Here's my second try at getting /etc/profile to run at ash startup
when ash is started from inittab:
::respawn:/bin/sh -sc ". /etc/profile" </dev/ttyS0 >/dev/ttyS0 2>/dev/ttyS0
(I added the "." command so that the settings in /etc/profile would
remain in effect after the script finished)
Rich
Rich Wilson
Agilent Technologies
425-335-2245
rich_wilson at agilent.com
More information about the busybox
mailing list