![]() |
1
magicxqh OP 没有用linux的吗?v2exer们 -。-
|
![]() |
2
magicxqh OP sudo setpci -s 00:02.0 F4.B=66
|
![]() |
3
magicxqh OP 自动执行
|
![]() |
4
magicxqh OP 没人吗?
|
![]() |
5
sunus 2012-04-29 08:37:21 +08:00 ![]() 放在/etc/environment,或者/etc/profile
应该不用加sudo |
![]() |
6
yishanhe 2012-04-29 08:56:46 +08:00 ![]() 放到/etc/rc.local
|
![]() |
7
laiwei 2012-04-29 08:56:51 +08:00 ![]() 不能放到profile
这个适合放在 /etc/rc.local 这个文件的末尾,不加sudo |
![]() |
8
libei 2012-04-29 09:02:15 +08:00 ![]() 去掉sudo,用文本存放到任何地方,然后在/etc/rc2.d/下创建一个S99xxxxxxx的符号链接到那个文件就可以了。
|
![]() |
9
magicxqh OP @sunus @yishanhe @laiwei @libei感谢回答
将rc.local写成: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. setpci -s 00:02.0 F4.B=66 exit 0 即可。 |
![]() |
10
magicxqh OP 另外想问问怎样开机禁用触摸板?
|