Skip to content

Commit

Permalink
Update rpi.sh for 64-bit Raspberry Pi OS
Browse files Browse the repository at this point in the history
  • Loading branch information
breakingspell committed May 6, 2024
1 parent 3ef459e commit 9feb91e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rpi.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/bin/bash

#location of OS details for linux
OS_RELEASE_FILE="/etc/os-release"

#check if Raspian OS is active, otherwise kill script
if grep -q "Raspbian" ${OS_RELEASE_FILE};
if [ -f /etc/rpi-issue ];
then
echo "Great this script works for RaspberryPI OS"
else
Expand Down

0 comments on commit 9feb91e

Please sign in to comment.