diff options
author | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2013-11-28 18:00:37 +0530 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2013-11-28 18:00:37 +0530 |
commit | 7c440a6fda2c02f4d6a3598c2a2c202ca1afd227 (patch) | |
tree | a2091a8dbffb22d57ceb7dd353efa3fd75b73ae6 /cpuhotplug | |
parent | 8516f5dc3aa597345c23409f64fba0e6aa25c797 (diff) |
cpuhotplug: parse type as netlink for udevadm
in newer ubuntu version type is change to "netlink" from "sock"
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Diffstat (limited to 'cpuhotplug')
-rwxr-xr-x | cpuhotplug/cpuhotplug_07.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuhotplug/cpuhotplug_07.sh b/cpuhotplug/cpuhotplug_07.sh index 95ec52f..0ec67fc 100755 --- a/cpuhotplug/cpuhotplug_07.sh +++ b/cpuhotplug/cpuhotplug_07.sh @@ -30,7 +30,7 @@ TMPFILE=cpuhotplug_07.tmp waitfor_udevadm() { while [ 1 ]; do - lsof | grep udevadm | grep sock > /dev/null + lsof | grep udevadm | grep 'sock\|netlink' > /dev/null if [ $? -eq 0 ]; then return 0 fi |