helm/os/+arch/+automount/install
2017-04-25 23:29:43 -04:00

10 lines
298 B
Bash
Executable file

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