diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-02-25 12:26:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-04-24 12:25:21 +0200 |
commit | 90df2a955e3c66fee2c59f67d9274e6a9addd9ce (patch) | |
tree | ad72395e2356aefb3b4a994679040d992d8a7132 /commands/printenv.c | |
parent | 5455198d56153b6ca39819c07cf9358ad02883fd (diff) | |
download | barebox-90df2a955e3c66fee2c59f67d9274e6a9addd9ce.tar.gz barebox-90df2a955e3c66fee2c59f67d9274e6a9addd9ce.tar.xz |
defaultenv: Convert init script to C
It's hard to get more complicated things right in hush. This commit
converts the /env/bin/init script to C code. With this we get a better
error handling and better control what is being done.
If /env/bin/init exists in the environment then it is still executed
instead of the corresponding C code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/printenv.c')
0 files changed, 0 insertions, 0 deletions