Skip to content

Commit fae99ae

Browse files
update rpi.sh for 64-bit Raspberry Pi OS (#164)
1 parent 3ef459e commit fae99ae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rpi.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#!/bin/bash
22

3-
#location of OS details for linux
4-
OS_RELEASE_FILE="/etc/os-release"
5-
63
#check if Raspian OS is active, otherwise kill script
7-
if grep -q "Raspbian" ${OS_RELEASE_FILE};
4+
if [ -f /etc/rpi-issue ];
85
then
96
echo "Great this script works for RaspberryPI OS"
107
else

0 commit comments

Comments
 (0)