# Calculate format=patch path=/etc chmod=0440
<reg>(# BEGIN laptop configuration)
.*(# END laptop configuration)</reg>
<text>\1
#?load(char,/sys/bus/pci/devices/0000:03:00.0/vendor,root)!=0x8086||load(char,/sys/bus/pci/devices/0000:03:00.0/device,root)!=0x423d#
Cmnd_Alias NETBOOK_CMDS = /usr/sbin/pm-hibernate
#load#
#?load(char,/sys/bus/pci/devices/0000:03:00.0/vendor,root)==0x8086&&load(char,/sys/bus/pci/devices/0000:03:00.0/device,root)==0x423d#
Cmnd_Alias NETBOOK_CMDS = /sbin/modprobe iwlagn, /sbin/rmmod iwlagn, /usr/sbin/pm-hibernate
#load#
%users	ALL=(ALL) NOPASSWD: NETBOOK_CMDS 
\2</text>
