Skip to content

Instantly share code, notes, and snippets.

@iwx1
Forked from dragolabs/ubunru-rsyslog-hack.sh
Last active August 29, 2015 14:11
Show Gist options
  • Save iwx1/4f9c70ea9624b3e3413b to your computer and use it in GitHub Desktop.
Save iwx1/4f9c70ea9624b3e3413b to your computer and use it in GitHub Desktop.
#!/bin/sh
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment