dracut/modules.d/40network/kill-dhclient.sh

6 lines
97 B
Bash
Executable File

#!/bin/sh
for f in /dhclient.*.pid; do
[ "$f" != "/dhclient.*.pid" ] && kill $(cat $f)
done