#!/bin/bash
if [ -f "/.factory_reset" ]; then
    exit 0
fi
transactional-update --no-selfupdate -c run btrfs filesystem resize max /
systemctl reboot
