helm/os/arch/automount/install

10 lines
298 B
Plaintext
Raw Normal View History

2016-12-28 21:20:10 -08:00
#!/usr/bin/env bash
2017-04-25 16:55:02 -07:00
if [[ -f /etc/arch-release ]]; then
sudo pacman -Ss udevil devmon
sudo systemctl enable devmon@$(whoami)
sudo systemctl start devmon@$(whoami)
2016-12-28 21:20:10 -08:00
2017-04-25 16:55:02 -07:00
sudo sed -i 's@^# \(success_exec =\)@\1 /home/hlissner/.dotfiles/os/arch/automount/bin/notify-mount@' udevil.conf
fi