Record SWI data before booting

This commit is contained in:
Carl D. Roth
2016-06-01 18:48:52 -07:00
parent dbc63575e7
commit 6bd030c898

View File

@@ -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
#