19 lines
400 B
Bash
19 lines
400 B
Bash
#!/bin/bash
|
|
|
|
systemctl stop login-mailer.timer
|
|
systemctl disable login-mailer.timer
|
|
|
|
if [ -f /usr/local/bin/login-mailer ]; then
|
|
rm /usr/local/bin/login-mailer
|
|
fi
|
|
|
|
if [ -f /etc/systemd/system/login-mailer.service ]; then
|
|
rm /etc/systemd/system/login-mailer.service
|
|
fi
|
|
|
|
if [ -f /etc/systemd/system/login-mailer.timer ]; then
|
|
rm /etc/systemd/system/login-mailer.timer
|
|
fi
|
|
|
|
systemctl daemon-reload
|