mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
Cron Logging deaktiviert
Language Fix fuer Shutdown und Reboot Ovpn on system start kleine Korrektur am Snort Skript git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@887 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
3
src/initscripts/init.d/networking/red.down/10-ovpn
Normal file
3
src/initscripts/init.d/networking/red.down/10-ovpn
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/openvpnctrl -k
|
||||
4
src/initscripts/init.d/networking/red.up/50-ovpn
Normal file
4
src/initscripts/init.d/networking/red.up/50-ovpn
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/openvpnctrl -s
|
||||
|
||||
@@ -127,6 +127,6 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
chmod 644 /var/log/snort/*
|
||||
chmod 644 /var/log/snort/* 2>/dev/null
|
||||
|
||||
# End $rc_base/init.d/snort
|
||||
|
||||
@@ -112,7 +112,7 @@ int main(void)
|
||||
else
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed -e 's/^#\\?\\(\\*\\.\\*[[:blank:]]\\+@.\\+\\)$/#\\1/' /etc/syslog.conf >&%d", config_fd );
|
||||
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed 's/.*\\/var\\/log\\/messages.*/%s \\/var\\/log\\/messages/' /etc/syslog.conf >&%d", varmessages, config_fd );
|
||||
snprintf(buffer, STRING_SIZE - 1, "/bin/sed 's/.*\\/var\\/log\\/messages.*/%s \\/var\\/log\\/messages/' /etc/syslog.conf >&%d", varmessages, config_fd );
|
||||
|
||||
/* if the return code isn't 0 failsafe */
|
||||
if ((rc = unpriv_system(buffer,99,99)) != 0)
|
||||
|
||||
Reference in New Issue
Block a user