From 6a1e9b8c8e29ca05677a4fae41d8995aae41e5ff Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 12 May 2010 17:45:52 +0200 Subject: system/preload: Updated for version 0.6.3 --- system/preload/doinst.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system/preload/doinst.sh') diff --git a/system/preload/doinst.sh b/system/preload/doinst.sh index 3fe2d3f76797e..116177f27b99b 100644 --- a/system/preload/doinst.sh +++ b/system/preload/doinst.sh @@ -18,6 +18,10 @@ if [ -e etc/rc.d/rc.preload ]; then mv etc/rc.d/rc.preload.new.incoming etc/rc.d/rc.preload.new fi +# Create log file and state file if they are not already there +[ ! -e var/log/preload.log ] && touch var/log/preload.log +[ ! -e var/lib/preload/preload.state ] && touch var/lib/preload/preload.state + config etc/rc.d/rc.preload.new config etc/preload.conf.new config etc/logrotate.d/preload.new -- cgit v1.2.3