The patch, as one can see athttps://launchpadlibrarian.net/179682498/pm-utils_1.4.1-13_1.4.1-13ubuntu0.1.diff.gz, actually makes the following change:
+- [ "$(cat /sys/class/net/$1/device/enable)" = "1" ] || return 1 ++ [ "$(cat /sys/class/net/$1/device/enabled)" = "1" ] || return 1
So the patch is applied, but it seems to be wrong as there is no "enabled" sys file now.
bdmurray@bizarro:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" bdmurray@bizarro:~$ ls /sys/class/net/eth0/device/ broken_parity_status consistent_dma_mask_bits dma_mask_bits irq modalias net remove resource resource4 subsystem uevent class d3cold_allowed driver local_cpulist msi_bus numa_node rescan resource0 resource4_wc subsystem_device vendor config device enable local_cpus msi_irqs power reset resource2 rom subsystem_vendor vpd
The patch, as one can see athttps: //launchpadlibr arian.net/ 179682498/ pm-utils_ 1.4.1-13_ 1.4.1-13ubuntu0 .1.diff. gz, actually makes the following change:
+- [ "$(cat /sys/class/ net/$1/ device/ enable) " = "1" ] || return 1 net/$1/ device/ enabled) " = "1" ] || return 1
++ [ "$(cat /sys/class/
So the patch is applied, but it seems to be wrong as there is no "enabled" sys file now.
bdmurray@bizarro:~$ cat /etc/lsb-release RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04.3 LTS" net/eth0/ device/ parity_ status consistent_ dma_mask_ bits dma_mask_bits irq modalias net remove resource resource4 subsystem uevent
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
bdmurray@bizarro:~$ ls /sys/class/
broken_
class d3cold_allowed driver local_cpulist msi_bus numa_node rescan resource0 resource4_wc subsystem_device vendor
config device enable local_cpus msi_irqs power reset resource2 rom subsystem_vendor vpd