1
0
mirror of /repos/node-red-pi2.git synced 2026-02-27 17:11:59 +01:00

non-pi version

This commit is contained in:
Aiko Mastboom
2015-05-10 16:52:14 +02:00
parent 944ea15abb
commit d387762c8a
3 changed files with 10 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env bash
apt-get update
echo "Europe/Amsterdam" | tee /etc/timezone
echo "${TIME_ZONE}" | tee /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y \
@@ -21,6 +22,11 @@ python get-pip.py
pip install --upgrade requests[security]
pip install RPi.GPIO
curl -o /bin/nave https://raw.githubusercontent.com/isaacs/nave/master/nave.sh
chmod +x /bin/nave
/bin/nave usemain ${NODE_VERSION}
home_red=/home/red
useradd -m -d ${home_red} -s /bin/bash red