packages/utils/sysstat/files/sysstat.init
florian 5801d150c6 [package] update sysstat to 9.0.4 (#5672)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-14 13:48:03 +00:00

13 lines
222 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 -S DISK -F -L -
}