Hi,
I tried creating a simple init.d script to load a node.js app on boot, but it doesn't seem to run until I SSH into the omega. I've registered the script to auto run with /etc/init.d/relay-app enable; and have tested that it works with /etc/init.d/relay-app start;
Any ideas?
#!/bin/sh /etc/rc.common
# Example script
# Copyright (C) 2007 OpenWrt.org
START=40
start() {
echo start
/usr/bin/node /root/relay-app/app.js &
}
stop() {
echo stop
}