#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
	# Create output directories
	mkdir -p /tmp/cyberfeed/cache /tmp/cyberfeed/output
	# Create symlink for web access
	[ -L /www/cyberfeed/index.html ] || ln -sf /tmp/cyberfeed/output/index.html /www/cyberfeed/index.html 2>/dev/null
	# Enable cron
	/etc/init.d/cron restart 2>/dev/null
}
exit 0
