diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-07-06 13:36:32 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-07-06 13:36:32 +0000 |
commit | 119213f6b2a43d2dfd8aab15bed42f5359dffb69 (patch) | |
tree | 1e9a4c82998e1f6bf3e48a1ebd77ba0fd07aa028 /share | |
parent | 6d5c6d89b12896c1702f63a0aaf0e701183d6774 (diff) | |
download | msec-119213f6b2a43d2dfd8aab15bed42f5359dffb69.tar msec-119213f6b2a43d2dfd8aab15bed42f5359dffb69.tar.gz msec-119213f6b2a43d2dfd8aab15bed42f5359dffb69.tar.bz2 msec-119213f6b2a43d2dfd8aab15bed42f5359dffb69.tar.xz msec-119213f6b2a43d2dfd8aab15bed42f5359dffb69.zip |
if sysctl.conf is modified reload its content with sysctl but do not restart
network.
Diffstat (limited to 'share')
-rw-r--r-- | share/libmsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/libmsec.py b/share/libmsec.py index b2dc631..bfc73a6 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -84,7 +84,7 @@ LOCAL=2 ConfigFile.add_config_assoc(INITTAB, '/sbin/telinit q') ConfigFile.add_config_assoc('/etc(?:/rc.d)?/init.d/(.+)', '[ -f /var/lock/subsys/@1 ] && @0 reload') -#ConfigFile.add_config_assoc(SYSCTLCONF, '/sbin/sysctl -e -p /etc/sysctl.conf; service network restart') +ConfigFile.add_config_assoc(SYSCTLCONF, '/sbin/sysctl -e -p /etc/sysctl.conf') ConfigFile.add_config_assoc(SSHDCONFIG, '[ -f /var/lock/subsys/sshd ] && /etc/rc.d/init.d/sshd restart') ConfigFile.add_config_assoc(LILOCONF, '[ `/usr/sbin/detectloader` = LILO ] && /sbin/lilo') ConfigFile.add_config_assoc(SYSLOGCONF, '[ -f /var/lock/subsys/syslog ] && service syslog reload') |