Reputation: 9152
I have a script to retrieve the mac address but its not returning the command properly.
chromium-browser --noerrdialogs --disk-cache-dir=/dev/null --no-first-run --ignore-certificate-errors --test-type --kiosk \"http://x.com/getscreen?mac=$(cat /sys/class/net/eth0/address)\""
Is there something im doing wrong I want it to use the output of the cat command as a string
Upvotes: 0
Views: 43
Reputation: 107
The problem is that you tipped an extra " at the end of the command line.
Cheers
Upvotes: 1