diff installer.sh @ 51:ee713a19b6ba

added install script
author root <root@beaglebone.(none)>
date Sun, 14 Oct 2012 00:24:21 +0000
parents
children 474c1ad1e811
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/installer.sh	Sun Oct 14 00:24:21 2012 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+mkdir -p /usr/local/bin
+cp -pa nodescore /usr/local/bin/
+
+mkdir /usr/share/nodescore
+cp -pa www *.js /usr/share/nodescore/
+
+cp -pa nodescored /etc/init.d/
+chmod 755 /etc/init.d/nodescored
+update-rc.d nodescored defaults