10 lines
323 B
Bash
Executable file
10 lines
323 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ -f /etc/arch-release ]]; then
|
|
sudo pacman --noconfirm --needed -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
|