mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
Tinkerboard: fix fwupdate mode boot switching
This commit is contained in:
parent
9fbc4064f2
commit
f58ef33745
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sed -i 's/^initrd.*//g' /boot/extlinux/extlinux.conf
|
||||
sed 's/\([ ]*\)\(initrd.*\)/\1#\2/g' /boot/extlinux/extlinux.conf
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat /boot/extlinux/extlinux.conf | grep -v 'initrd' > /boot/extlinux/extlinux.conf
|
||||
echo " initrd /initrd.gz" >> /boot/extlinux/extlinux.conf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user