From 6bd030c898dc105aa82ac98640b21a3c65110db0 Mon Sep 17 00:00:00 2001 From: "Carl D. Roth" Date: Wed, 1 Jun 2016 18:48:52 -0700 Subject: [PATCH] Record SWI data before booting --- packages/base/all/initrds/loader-initrd-files/src/bin/boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/base/all/initrds/loader-initrd-files/src/bin/boot b/packages/base/all/initrds/loader-initrd-files/src/bin/boot index a532d5a3..a8cfd7af 100755 --- a/packages/base/all/initrds/loader-initrd-files/src/bin/boot +++ b/packages/base/all/initrds/loader-initrd-files/src/bin/boot @@ -140,8 +140,8 @@ if [ -d "${swipath}" ]; then umount -l /newroot 2>/dev/null || : mount --bind "${swipath}/${rootfs}" /newroot else - echo "$swistamp" > /etc/onl/SWI swiprep --overlay "${swipath}${rootfs}" --unmount --swiref "$swistamp" /newroot + swiprep --record "${swipath}${rootfs}" --swiref "$swistamp" /newroot fi #