File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,21 @@ echo '=== Files in current directory: ==='
88ls -la
99
1010ln -sf libOpenCL.so.1 /usr/lib/aarch64-linux-gnu/libOpenCL.so # Fix for snpe-tools
11+ # Create user pi:raspberry login
12+ echo " creating pi user"
13+ useradd pi -m -b /home -s /bin/bash
14+ usermod -a -G sudo pi
15+ echo ' pi ALL=(ALL) NOPASSWD: ALL' | tee -a /etc/sudoers.d/010_pi-nopasswd > /dev/null
16+ chmod 0440 /etc/sudoers.d/010_pi-nopasswd
17+
18+ echo " pi:raspberry" | chpasswd
19+
20+ # Delete ubuntu user
21+
22+ if id " ubuntu" > /dev/null 2>&1 ; then
23+ echo ' removing ubuntu user'
24+ deluser --remove-home ubuntu
25+ fi
1126
1227# This needs to run before install.sh to fix some weird dependency issues
1328apt-get -y --allow-downgrades install libsqlite3-0=3.45.1-1ubuntu2
You can’t perform that action at this time.
0 commit comments