bash-4.1# service hald status hald: 未被识别的服务
这么说可能它不叫hald了,那本座就看看它叫什么,“service --status-all”,结果输出的是这样的:bash-4.1# service --status-all acpid (pid 1637) 正在运行... anacron 已停 atd 已停 正在运行Avahi守护进程 Avahi DNS 守护进程未运行 cpuspeed 已死,但是 subsys 被锁 crond 已停 daemondaemon (pid 1714) 正在运行... dhcp6r 已停 dhcp6s 已停 dhcpd 已停 dhcrelay 已停 dnsmasq (pid 1874) 正在运行... 用法: /etc/init.d/evlinksboot {start|restart|restart} 用法: /etc/init.d/evlinkslo {start|restart|restart} Checking fuse filesystem not available. gpm 已停 hald (pid 1808) 正在运行... irqbalance (pid 2322) 正在运行... Checking jexec statusmdmonitor 已停 dbus-daemon (pid 2147 1648) 正在运行... multipathd 已停 Locating //etc/named.conf failed. I can't find any configuration file. You can create it by system-config-bind or install caching-nameserver. [失败] netplugd 已停 配置设备: lo eth0 当前的活跃设备: lo wmaster0 wlan0 eth0 NetworkManager (pid 1958) 正在运行... rpc.mountd 已停 nfsd 已停 rpc.statd 已停 nmbd (pid 2493) 正在运行... nscd 已停 rdisc 已停 rpcbind 已停 rpc.idmapd 已停 saslauthd 已停 smbd (pid 2478 2407) 正在运行... smbshared2 (pid 2354) 正在运行... sshd 已停 syslogd (pid 1616) 正在运行... klogd (pid 1619) 正在运行... uuidd (pid 1760) 正在运行... /etc/init.d/vbesave: line 6: /lib/lsb/init-functions: 没有那个文件或目录 WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. WARNING: All config files need .conf: /etc/modprobe.d/sound, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/floppy-pnp, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release. VirtualBox kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are loaded. Wine的二进制格式处理程序未注册。 wpa_supplicant (pid 1668) 正在运行... xinetd 已停
这不明明是叫hald吗?于是本座只有去搜索了,在这里发现原来它的全名叫“haldaemon”:http://linux.chinaitlab.com/driver/40085.html。于是本座就使用service命令对这个haldaemon进行操作,果然成功了。 为什么它的全名是叫haldaemon,而使用service命令查看全部服务的时候却显示成hald呢?本座觉得这样会误导用户的。 不知道其它的发行版是不是也是这样的。Your opinionsHxLauncher: Launch Android applications by voice commands