packages/utils/sysstat/files/sysstat.init
florian debca2b63b Add sysstat (#2124)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 11:53:37 +00:00

13 lines
224 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# The init file runs the sadc command in order to write
# the "LINUX RESTART" mark to the daily data file
START=99
start() {
mkdir -p /var/log/sysstat
/usr/lib/sysstat/sadc -d -F -L -
}