mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-30 06:10:36 +03:00
Add option DAEMON_LOG_SIZE_MAX
This commit is contained in:
@@ -70,18 +70,18 @@ function boot
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
init_before_start "$DAEMON_LOG_ENABLE"
|
||||
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
|
||||
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD start "$@"
|
||||
}
|
||||
|
||||
function start
|
||||
{
|
||||
init_before_start "$DAEMON_LOG_ENABLE"
|
||||
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
|
||||
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD start "$@"
|
||||
}
|
||||
|
||||
function restart
|
||||
{
|
||||
init_before_start "$DAEMON_LOG_ENABLE"
|
||||
init_before_start "$DAEMON_LOG_ENABLE" "$DAEMON_LOG_SIZE_MAX"
|
||||
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD restart "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user