enable syslogd service

This commit is contained in:
superconvert 2022-10-23 15:15:33 +08:00
parent 2f5adf9e6c
commit 0b2a902a28
2 changed files with 7 additions and 1 deletions

View File

@ -80,7 +80,8 @@ BINUTILS_SRC_DIR=$(unzip_src ".tar.xz" ${BINUTILS_SRC_NAME}); echo "unzip ${BINU
if [ "$1" = "rebuild" ]; then if [ "$1" = "rebuild" ]; then
echo "rebuild" echo "rebuild"
cd ${build_dir} cd ${build_dir}
rm -rf linux_install glibc_install busybox_install pciutils_install openssl_install openssh_install gcc_install binutils_install rm -rf linux_install glibc_install busybox_install lshw_install lsof_install pciutils_install strace_install \
openssl_install openssh_install gcc_install binutils_install
cd .. cd ..
fi fi

View File

@ -150,6 +150,11 @@ make_init
# 指定了利用 /etc/init.d/rcS 启动 # 指定了利用 /etc/init.d/rcS 启动
cat<<"EOF">etc/inittab cat<<"EOF">etc/inittab
# 启动 syslogd
::sysinit:/bin/echo "starting syslogd ... ..."
::sysinit:/sbin/syslogd
::sysinit:/sbin/klogd
# 启动 udevd 服务,保证鼠标设备能正常监视,否则键盘不能使用 # 启动 udevd 服务,保证鼠标设备能正常监视,否则键盘不能使用
::sysinit:/bin/echo "starting udevd ... ..." ::sysinit:/bin/echo "starting udevd ... ..."
::sysinit:/usr/sbin/udevd --daemon ::sysinit:/usr/sbin/udevd --daemon