dracut/modules.d/40network/check

3 lines
69 B
Bash
Executable File

#!/bin/sh
which ip dhclient hostname >/dev/null 2>&1 || exit 1
exit 0