Skip to content

Commit

Permalink
Update initRock.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Apr 24, 2024
1 parent cd3acf5 commit 0f2525e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions initRock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ mkdir -p /usr/local/share/openhd/platform/rock

if [[ -f "/boot/openhd/rock-5a.txt" ]]; then
echo "Running on a rock5 A"
sudo systemctl enable ssh
sudo systemctl start ssh
mkdir -p /usr/local/share/openhd/platform/rock/rock5a
config_file=$(find /boot/openhd/ -type f -name 'IMX*')

Expand All @@ -28,6 +30,8 @@ fi
if [[ -f "/boot/openhd/rock-5b.txt" ]]; then
echo "Running on a rock5 B"
mkdir -p /usr/local/share/openhd/platform/rock/rock5b
sudo systemctl enable ssh
sudo systemctl start ssh
config_file=$(find /boot/openhd/ -type f -name 'IMX*')

if [[ -n "$config_file" ]]; then
Expand Down

0 comments on commit 0f2525e

Please sign in to comment.