moar progress
This commit is contained in:
parent
99605585e1
commit
135236685a
6 changed files with 83 additions and 55 deletions
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
boot.initrd.postDeviceCommands = lib.mkAfter ''
|
||||
mkdir /btrfs_tmp
|
||||
mount ${config.fileSystems."/".device} /btrfs_tmp
|
||||
mount "${config.fileSystems."/".device}" /btrfs_tmp
|
||||
if [[ -e /btrfs_tmp/root ]]; then
|
||||
mkdir -p /btrfs_tmp/old_roots
|
||||
timestamp=$(date --date="@$(stat -c %Y /btrfs_tmp/root)" "+%Y-%m-%-d_%H:%M:%S")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue