factory-reset: Remove errant debug command
I added this `seq` command to make it easier to see output from `factory-reset` on the serial console. It's no longer necessary.master
parent
a4baa58563
commit
5e8b69d659
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
DATAPART=$(awk '$2=="/var"{print $1}' /etc/fstab)
|
DATAPART=$(awk '$2=="/var"{print $1}' /etc/fstab)
|
||||||
|
|
||||||
seq 1 30
|
|
||||||
|
|
||||||
dev=$(findfs "${DATAPART}")
|
dev=$(findfs "${DATAPART}")
|
||||||
if [ -z "${dev}" ]; then
|
if [ -z "${dev}" ]; then
|
||||||
printf 'Could not find data partition (%s)\n' "${DATAPART}" >&2
|
printf 'Could not find data partition (%s)\n' "${DATAPART}" >&2
|
||||||
|
|
Loading…
Reference in New Issue