diff --git a/packages/base/all/vendor-config-onl/src/bin/onlfit b/packages/base/all/vendor-config-onl/src/bin/onlfit new file mode 100755 index 00000000..2b5ac815 --- /dev/null +++ b/packages/base/all/vendor-config-onl/src/bin/onlfit @@ -0,0 +1,13 @@ +#!/bin/sh +############################################################ +if [ -z "$1" ]; then + echo "usage: $0 " + exit 1 +fi + +PLATFORM=$(cat /etc/onl/platform) + +dir=`mktemp -d` +(cd $dir && wget $1) +onlfs rw boot mv $dir/* /mnt/onl/boot/${PLATFORM}.itb +rmdir $dir