helm/os/+arch/+automount/install

10 lines
302 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
2017-05-04 04:13:20 -07:00
sudo pacman -S udevil devmon
2017-04-25 16:55:02 -07:00
sudo systemctl enable devmon@$(whoami)
sudo systemctl start devmon@$(whoami)
2016-12-28 21:20:10 -08:00
2017-05-04 04:13:20 -07:00
sudo sed -i "s@^# \(success_exec =\)@\1 $HOME/.dotfiles/os/+arch/+automount/bin/notify-mount@" /etc/udevil/udevil.conf
2017-04-25 16:55:02 -07:00
fi