diff options
Diffstat (limited to 'arch-system/base-system.install')
-rw-r--r-- | arch-system/base-system.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch-system/base-system.install b/arch-system/base-system.install new file mode 100644 index 0000000..ee56a6e --- /dev/null +++ b/arch-system/base-system.install @@ -0,0 +1,16 @@ +post_upgrade() { + # in case it wasn't already run by glibc + locale-gen + + systemctl enable --now avahi-daemon.service + mount | grep -q "on / type btrfs" && systemctl enable --now btrfs-scrub@-.timer +} + +post_install() { + post_upgrade +} + +pre_remove() { + systemctl disable avahi-daemon.service + systemctl disable btrfs-scrub@-.timer +} |