查看自启动是否打开:
# setboot -v
Primary bootpath : 0/1/1/0.0.0
HA Alternate bootpath : 0/1/2/0
Alternate bootpath : 0/1/2/1
Autoboot is ON (enabled)
setboot: error accessing firmware - Function is not available
The firmware of your system does not support querying or changing the SpeedyBoot
# setboot -v
Primary bootpath : 0/1/1/0.0.0
HA Alternate bootpath : 0/1/2/0
Alternate bootpath : 0/1/2/1
Autoboot is ON (enabled)
setboot: error accessing firmware - Function is not available
The firmware of your system does not support querying or changing the SpeedyBoot
settings.
打开或关闭自启动的命令:
/usr/sbin/setboot -b on, /usr/sbin/setboot -b off
打开或关闭自搜索(按顺序自搜索启动的位置)启动的命令:
/usr/sbin/setboot -s on, /usr/sbin/setboot -s off
立即关闭并重启:
/sbin/shutdown -r 0
立即关闭并停止等待关掉电源:
/sbin/shutdown -h 0
立即切换到单用户模式:
/sbin/shutdown 0