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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user