10 lines
298 B
Bash
Executable file
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
|