You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
602 B
13 lines
602 B
# 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>
|