issues
search
unwiredlabs
/
location-magic
A simple way to track *unix devices
21
stars
5
forks
source link
Location Command Update
#6
Open
christiankaye
opened
3 years ago
christiankaye
commented
3 years ago
Please consider changing the magic script. This fixes location issues in the locationmagick script for current version of Linux. (Tested on Arch) Lines 80 and 81 changed to read as follows:
elif [ "$platform" = "linux" ]; then interface=($(ip addr | grep wlo1 | awk '{print $2}')) list=($(ip -o link | grep ether | awk '{ print $2" : "$17 }')) else
Please consider changing the magic script. This fixes location issues in the locationmagick script for current version of Linux. (Tested on Arch) Lines 80 and 81 changed to read as follows:
elif [ "$platform" = "linux" ]; then interface=($(ip addr | grep wlo1 | awk '{print $2}')) list=($(ip -o link | grep ether | awk '{ print $2" : "$17 }')) else