Skip to content
Snippets Groups Projects

Add back persistance fsck option

Merged Luca Boccassi requested to merge bluca/live-boot:fsck into master
1 unresolved thread
3 files
+ 41
1
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 3
1
@@ -182,5 +182,7 @@ Live ()
@@ -182,5 +182,7 @@ Live ()
exec 1>&6 6>&-
exec 1>&6 6>&-
exec 2>&7 7>&-
exec 2>&7 7>&-
kill ${tailpid}
kill ${tailpid}
[ -w "${rootmnt}/var/log/" ] && mkdir -p "${rootmnt}/var/log/live" && cp boot.log "${rootmnt}/var/log/live" 2>/dev/null
[ -w "${rootmnt}/var/log/" ] && mkdir -p "${rootmnt}/var/log/live" && ( \
 
cp boot.log "${rootmnt}/var/log/live" 2>/dev/null; \
 
cp fsck.log "${rootmnt}/var/log/live" 2>/dev/null )
}
}
Loading