6 lines
318 B
Bash
6 lines
318 B
Bash
#!/sbin/sh
|
|
echo \#!/sbin/sh > /tmp/createnewboot.sh
|
|
echo /tmp/mkbootimg --kernel /tmp/zImage --ramdisk /tmp/boot.img-ramdisk.gz --cmdline \"$(cat /tmp/boot.img-cmdline)\" --base $(cat /tmp/boot.img-base) --output /tmp/newboot.img >> /tmp/createnewboot.sh
|
|
chmod 777 /tmp/createnewboot.sh
|
|
/tmp/createnewboot.sh
|
|
return $? |