From 92eaf5dc921ce15a367d9d183c2a7dc69b69bcad Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 16 Oct 2016 21:38:00 +0200 Subject: Adapt docstring of enable_console_log suppress SYSLOGCONF no more used --- src/msec/plugins/msec.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py index a37bc4b..d31debe 100755 --- a/src/msec/plugins/msec.py +++ b/src/msec/plugins/msec.py @@ -61,7 +61,6 @@ SHUTDOWNALLOW = '/etc/shutdown.allow' SSHDCONFIG = '/etc/ssh/sshd_config' STARTX = '/usr/bin/startx' SYSCTLCONF = '/etc/sysctl.conf' -SYSLOGCONF = '/etc/syslog.conf' JOURNALDCONF = '/etc/systemd/journald.conf' XDM = '/etc/pam.d/xdm' XSERVERS = '/etc/X11/xdm/Xservers' @@ -104,7 +103,6 @@ class msec: self.configfiles.add_config_assoc(SYSCTLCONF, '/sbin/sysctl -e -p /etc/sysctl.conf') self.configfiles.add_config_assoc(SSHDCONFIG, '[ -f /var/lock/subsys/sshd ] && /etc/rc.d/init.d/sshd restart') self.configfiles.add_config_assoc(LILOCONF, '[ `/usr/sbin/detectloader` = LILO ] && /sbin/lilo') - self.configfiles.add_config_assoc(SYSLOGCONF, '[ -f /var/lock/subsys/syslog ] && service syslog reload') self.configfiles.add_config_assoc(JOURNALDCONF, '[ -f /var/lock/subsys/journald ] && systemctl restart journald') self.configfiles.add_config_assoc('^/etc/issue$', '/usr/bin/killall mingetty') @@ -430,7 +428,7 @@ class msec: autologin.set_shell_variable('AUTOLOGIN', 'no') def enable_console_log(self, arg, expr='*.*', dev='tty12'): - ''' Log syslog messages on console terminal 12.''' + ''' Log journal messages on console terminal 12.''' journaldconf = self.configfiles.get_config_file(JOURNALDCONF) -- cgit v1.2.1