really fox postinst
This commit is contained in:
parent
1de36be251
commit
9cfc955674
|
@ -1,3 +1,9 @@
|
||||||
|
a2pi (0.1.1-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fix update to /boot/cmdline.txt (again) - thanks Ivan Drucker!
|
||||||
|
|
||||||
|
-- David Schmenk <dschmenk@gmail.com> Sun, 6 Oct 2013 14:31:35 -0700
|
||||||
|
|
||||||
a2pi (0.1.1-3) unstable; urgency=low
|
a2pi (0.1.1-3) unstable; urgency=low
|
||||||
|
|
||||||
* Fix update to /boot/cmdline.txt - thanks Ivan Drucker!
|
* Fix update to /boot/cmdline.txt - thanks Ivan Drucker!
|
||||||
|
|
|
@ -24,7 +24,7 @@ case "$1" in
|
||||||
# Update /boot partition files.
|
# Update /boot partition files.
|
||||||
#
|
#
|
||||||
if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then
|
if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then
|
||||||
mv /boot/cmdline.txt /boot/cmdline.bak
|
cp /boot/cmdline.txt /boot/cmdline.bak
|
||||||
sed -i 's/console=ttyAMA0,[0-9]* kgdboc=ttyAMA0,[0-9]* //g' /boot/cmdline.txt
|
sed -i 's/console=ttyAMA0,[0-9]* kgdboc=ttyAMA0,[0-9]* //g' /boot/cmdline.txt
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue