helm/os/+arch/+automount/install
2017-05-04 07:13:20 -04:00

10 lines
302 B
Bash
Executable file

#!/usr/bin/env bash
if [[ -f /etc/arch-release ]]; then
sudo pacman -S udevil devmon
sudo systemctl enable devmon@$(whoami)
sudo systemctl start devmon@$(whoami)
sudo sed -i "s@^# \(success_exec =\)@\1 $HOME/.dotfiles/os/+arch/+automount/bin/notify-mount@" /etc/udevil/udevil.conf
fi