9
0
Fork 0
barebox/defaultenv-2/base/bin/bootargs-root-jffs2

10 lines
144 B
Bash

#!/bin/sh
while getopt "m:" opt; do
if [ ${opt} = m ]; then
mtd=${OPTARG}
fi
done
global.linux.bootargs.root="root=$mtd rootfstype=jffs2"