我怀疑自己曾经添加了一行(INIT_HALT=HALT). 且不说改行前面没有export语
句。
原来的脚本是没有这一行的,我不知道是不是,帮我核对一下好不好

#!/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.
INIT_HALT=HALT
exit 0



-- 
ubuntu-zh mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复