helm/base/arch/scripts/install-udevil.sh

9 lines
261 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
sudo pacman --noconfirm --needed -S udevil devmon
sudo systemctl enable devmon@$USER
sudo systemctl start devmon@$USER
ARCH=$(cd "${0:A:h}/.." && pwd)
sudo sed -i "s@^# \(success_exec =\)@\1 $ARCH/bin/notify-mount@" /etc/udevil/udevil.conf