alexylem / jarvis-api

Plugin to allow controling Jarvis remotely using RestAPI
10 stars 7 forks source link

`ifconfig` path correction for all Linux distributions #9

Closed Oliv4945 closed 7 years ago

Oliv4945 commented 7 years ago

At list on Debian and Fedora /sbin/ is not on the path, so calling directly ifconfig results in the error plugins/jarvis-api/fr/functions.sh: ligne 11: ifconfig : commande introuvable

alexylem commented 7 years ago

Thanks @Oliv4945 but since then Jarvis provied a global jv_ip variable that does just this, including the full path. I will update the various plugins to use this variable instead.

Oliv4945 commented 7 years ago

Ok, great :-)

alexylem commented 7 years ago

Now pushed in latest jarvis-api update.