> Am 27.05.2015 um 08:10 schrieb Alexander Richter <alexander.richter@xxxxxxxxxxxx>: > > Hello, >> Am 26.05.2015 um 17:42 schrieb Jean-Christophe BEGUE <begue.jc@xxxxxxxxx>: >> >> Hello, >> >> I'm trying to pass a value from Barebox to the operating system, using >> the usreland command bareboxenv -l. >> >> My problem is : How should I write that status from my hush barebox script? >> >> echo $mystatus > /env/data/my_status_file > You can use the command nv to create non volatile shell variables. Don’t forget to save the Environment. Additionally, a echo -a / -o might be useful in your case. -a <file>", "instead of outputting to stdout append to <file> -o <file>", "instead of outputting to stdout overwrite <file> >> >> The above command doesn't work as '>' is not implemented. >> >> I've the feeling that I'm missing something? >> > To access the new variable (/env/nv/foo.bar) from userspace, you can use the „bareboxenv“ tool > > Alexander Richter > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox