[Zrouter-src] ZRouter.org: push to ZRouter profiles/SMALL_/files/etc/crontab p...
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Thu Sep 20 12:54:13 UTC 2012
details: http://zrouter.org/hg/zrouter//rev/f23518f7c7dc
changeset: 445:f23518f7c7dc
user: Aleksandr Rybalko <ray at ddteam.net>
date: Thu Sep 20 15:36:21 2012 +0300
description:
Enable syslog and newsyslog rotation.
diffstat:
profiles/SMALL_/files/etc/crontab | 2 +-
profiles/SMALL_/files/etc/inetd.conf | 4 ++--
profiles/SMALL_/files/etc/newsyslog.conf | 3 +++
profiles/SMALL_/profile.mk | 9 +++++----
4 files changed, 11 insertions(+), 7 deletions(-)
diffs (55 lines):
diff -r a0f75c3d2ca5 -r f23518f7c7dc profiles/SMALL_/files/etc/crontab
--- a/profiles/SMALL_/files/etc/crontab Thu Sep 20 15:35:32 2012 +0300
+++ b/profiles/SMALL_/files/etc/crontab Thu Sep 20 15:36:21 2012 +0300
@@ -2,7 +2,7 @@
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
*/5 * * * * root /usr/libexec/atrun
*/11 * * * * operator /usr/libexec/save-entropy
-0 * * * * root newsyslog
+*/6 * * * * root newsyslog
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
diff -r a0f75c3d2ca5 -r f23518f7c7dc profiles/SMALL_/files/etc/inetd.conf
--- a/profiles/SMALL_/files/etc/inetd.conf Thu Sep 20 15:35:32 2012 +0300
+++ b/profiles/SMALL_/files/etc/inetd.conf Thu Sep 20 15:36:21 2012 +0300
@@ -7,8 +7,8 @@
# To enable a service, remove the '#' at the beginning of the line.
#
#ftp stream tcp nowait root /mnt/usr/libexec/ftpd ftpd -l -A
-ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
-telnet stream tcp nowait root /usr/libexec/telnetd telnetd
+#ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
+#telnet stream tcp nowait root /usr/libexec/telnetd telnetd
#shell stream tcp nowait root /usr/libexec/rshd rshd
#login stream tcp nowait root /usr/libexec/rlogind rlogind
#finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
diff -r a0f75c3d2ca5 -r f23518f7c7dc profiles/SMALL_/files/etc/newsyslog.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/SMALL_/files/etc/newsyslog.conf Thu Sep 20 15:36:21 2012 +0300
@@ -0,0 +1,3 @@
+# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
+/var/log/all.log 644 1 50 * GC
+
diff -r a0f75c3d2ca5 -r f23518f7c7dc profiles/SMALL_/profile.mk
--- a/profiles/SMALL_/profile.mk Thu Sep 20 15:35:32 2012 +0300
+++ b/profiles/SMALL_/profile.mk Thu Sep 20 15:36:21 2012 +0300
@@ -169,13 +169,14 @@
#ppp \
WORLD_SUBDIRS_USR_SBIN+= \
+chroot \
+cron \
+inetd \
+gpioctl \
+newsyslog \
ngctl \
nghook \
-chroot \
-cron \
pwd_mkdb \
-inetd \
-gpioctl \
syslogd
.if defined(WITH_USB)
More information about the Zrouter-src
mailing list