在 RHEL / CentOS 上至少它位于 SysVinit 包中。您可以通过
which reboot
查找可执行文件来确定这一点 - 对我来说它位于 /sbin/reboot 中 - 然后
rpm -qf /sbin/reboot
找出它位于哪个包中。然后您应该能够从任何 CentOS 镜像下载 SRPM,例如 http://www.mirrorservice.org/sites/mirror.centos.org/5.5/操作系统/SRPMS/
On RHEL / CentOS at least it's in the SysVinit package. You can determine this by
to find the executable - it's in /sbin/reboot for me - then
to find out which package it is in. You should then be able to download a SRPM from any CentOS mirror, e.g. http://www.mirrorservice.org/sites/mirror.centos.org/5.5/os/SRPMS/
请参阅 util-linux 中的 ="noreferrer">shutdown.c。
See shutdown.c in util-linux.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
在 RHEL / CentOS 上至少它位于 SysVinit 包中。您可以通过
查找可执行文件来确定这一点 - 对我来说它位于 /sbin/reboot 中 - 然后
找出它位于哪个包中。然后您应该能够从任何 CentOS 镜像下载 SRPM,例如 http://www.mirrorservice.org/sites/mirror.centos.org/5.5/操作系统/SRPMS/
On RHEL / CentOS at least it's in the SysVinit package. You can determine this by
to find the executable - it's in /sbin/reboot for me - then
to find out which package it is in. You should then be able to download a SRPM from any CentOS mirror, e.g. http://www.mirrorservice.org/sites/mirror.centos.org/5.5/os/SRPMS/
请参阅 util-linux 中的 ="noreferrer">shutdown.c。
See shutdown.c in util-linux.