mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-09 12:21:17 +00:00
init scripts for RPi
This commit is contained in:
parent
f42814778d
commit
c91b291f0f
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/node_modules/
|
16
scripts/init.sh
Executable file
16
scripts/init.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
pacman --noconfirm --sync --refresh --sysupgrade --quiet
|
||||
|
||||
useradd -m -G users,wheel -s /bin/bash haki
|
||||
|
||||
pacman --noconfirm --sync --needed --quiet sudo
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
|
||||
|
||||
pacman --noconfirm --sync --needed --quiet git nodejs openvpn yaourt
|
||||
yaourt --noconfirm --sync heroku-toolbelt > /dev/null
|
||||
|
||||
cd /home/haki && sudo -u haki git clone git@bitbucket.org:rulemotion/ewa-client-bootstrap.git
|
||||
ln -s /home/haki/ewa-client-bootstrap/haki.service /etc/systemd/system/haki.service
|
||||
|
||||
systemctl enable haki
|
Loading…
x
Reference in New Issue
Block a user