123456789 |
- #!/bin/sh
- # Run aoe-discover if a device different from lo is brought up.
- # This might be restricted to ethernet interfaces, on the other hand,
- # aoe-discover is pretty cheap.
- if [ "${1-}" != 'lo' ] && [ "${2-}" = 'up' ]; then
- aoe-discover
- fi
|