Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

fersaru/get-device-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-device-ip

Try it out:

./get-ip.sh foo device-list lease-list

todos

  • When a device is listed twice, the first hit in the device list is checked.
    Demo:
    ./get-ip.sh foobar device-list lease-list
    • TODO: check all listed devices and return first device with lease or exit with 1
  • When no device is given as argument, the first device is checked.
    Demo:
    ./get-ip.sh "" device-list lease-list
    • TODO: check all listed devices and return first device with lease or exit with 1

think it over?

  • When a device doesn't have a lease, the script exits with 1.
    Demo:
    ./get-ip.sh bar device-list lease-list
  • When a device is not listed, the script exits with 1.
    Demo:
    ./get-ip.sh notlisted device-list lease-list

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages