aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/base-system.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch-system/base-system.install')
-rw-r--r--arch-system/base-system.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch-system/base-system.install b/arch-system/base-system.install
index 371f832..ee56a6e 100644
--- a/arch-system/base-system.install
+++ b/arch-system/base-system.install
@@ -3,6 +3,7 @@ post_upgrade() {
locale-gen
systemctl enable --now avahi-daemon.service
+ mount | grep -q "on / type btrfs" && systemctl enable --now btrfs-scrub@-.timer
}
post_install() {
@@ -11,4 +12,5 @@ post_install() {
pre_remove() {
systemctl disable avahi-daemon.service
+ systemctl disable btrfs-scrub@-.timer
}