Skip to content

Commit 5b74166

Browse files
committed
Fix audio enable
1 parent 26c4ae3 commit 5b74166

File tree

1 file changed

+1
-1
lines changed
  • scripts/etc/init.d

1 file changed

+1
-1
lines changed

scripts/etc/init.d/rcS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ echo "OK"
10211021

10221022
# enable sound if specified in the configuration file
10231023
if [ "${sound_enable}" = "1" ] ; then
1024-
sed -i "s/^#\(dtparam=audio=on\)/\1/" config.txt
1024+
sed -i "s/^#\(dtparam=audio=on\)/\1/" /rootfs/boot/config.txt
10251025
fi
10261026

10271027
# enable camera if specified in the configuration file

0 commit comments

Comments
 (0)