more tools
This commit is contained in:
18
login-mailer/uninstall.sh
Normal file
18
login-mailer/uninstall.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user