  #!/bin/sh
  # Check if we are on real system
  if [ -z "${IPKG_INSTROOT}" ]; then
    /etc/init.d/nyc-dot enabled || /etc/init.d/nyc-dot enable
	logger -t nyc-dot "Adding cron job for luci-nyc-dot"
    sed -i '/#nyc-dot/d' /etc/crontabs/root
    echo "*/5 * * * * /usr/sbin/nyc-dot/watcher.sh #nyc-dot" >> /etc/crontabs/root
    /etc/init.d/cron restart
    logger -t nyc-dot "Removing session cookies, user will need to login again to GUI"
    rm -rf /tmp/luci-*
  fi
  exit 0
