You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
199 B
Bash

#!/bin/sh
grep -v "/etc/crontabs/ssh_patch.sh" /etc/crontabs/root > /etc/crontabs/root.new;
mv /etc/crontabs/root.new /etc/crontabs/root
/etc/init.d/cron restart
rm -f /etc/crontabs/ssh_patch.sh