aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-10-16 21:38:00 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-10-16 21:38:00 +0200
commit92eaf5dc921ce15a367d9d183c2a7dc69b69bcad (patch)
tree930d5c42ce12630f797bd8173d09b370acf03491 /src
parent63be0a4da723a844bb17bfa0dafe8795bde8a296 (diff)
downloadmsec-92eaf5dc921ce15a367d9d183c2a7dc69b69bcad.tar
msec-92eaf5dc921ce15a367d9d183c2a7dc69b69bcad.tar.gz
msec-92eaf5dc921ce15a367d9d183c2a7dc69b69bcad.tar.bz2
msec-92eaf5dc921ce15a367d9d183c2a7dc69b69bcad.tar.xz
msec-92eaf5dc921ce15a367d9d183c2a7dc69b69bcad.zip
Adapt docstring of enable_console_log
suppress SYSLOGCONF no more used
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/plugins/msec.py4
1 files changed, 1 insertions, 3 deletions
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)