blob: 45fcd5acfb4fc0e9fdd21b2798586f7087f2fbd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
while getopt "m:r:" opt; do
if [ ${opt} = m ]; then
part=${OPTARG}
fi
if [ ${opt} = r ]; then
type=${OPTARG}
fi
done
global.linux.bootargs.root="root=/dev/$part rootfstype=ext$type rootwait"
|