Skip to content

Commit

Permalink
removed unnecessary eol
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Oct 29, 2023
1 parent e50e982 commit 6c5d157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ chmod -R 777 /opt/brother

subnet=$(echo $IPADDRESS | sed 's/\([0-9]*\.[0-9]*\.\)[0-9]*\.[0-9]*/\1/')
interface=$(ip addr show | grep -B10 $subnet | grep mtu | tail -1 | sed 's/[0-9]*: \(.*\): .*/\1/')
echo "eth=$interface\n" >> /opt/brother/scanner/brscan-skey/brscan-skey.config
echo "eth=$interface" >> /opt/brother/scanner/brscan-skey/brscan-skey.config

su - $USERNAME -c "/usr/bin/brsaneconfig4 -a name=$NAME model=$MODEL ip=$IPADDRESS"
su - $USERNAME -c "/usr/bin/brscan-skey"
Expand Down

0 comments on commit 6c5d157

Please sign in to comment.