mirror of
https://github.com/superconvert/smart-os.git
synced 2024-10-30 15:57:46 +08:00
enable syslogd service
This commit is contained in:
parent
2f5adf9e6c
commit
0b2a902a28
@ -80,7 +80,8 @@ BINUTILS_SRC_DIR=$(unzip_src ".tar.xz" ${BINUTILS_SRC_NAME}); echo "unzip ${BINU
|
||||
if [ "$1" = "rebuild" ]; then
|
||||
echo "rebuild"
|
||||
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 ..
|
||||
fi
|
||||
|
||||
|
@ -150,6 +150,11 @@ make_init
|
||||
# 指定了利用 /etc/init.d/rcS 启动
|
||||
cat<<"EOF">etc/inittab
|
||||
|
||||
# 启动 syslogd
|
||||
::sysinit:/bin/echo "starting syslogd ... ..."
|
||||
::sysinit:/sbin/syslogd
|
||||
::sysinit:/sbin/klogd
|
||||
|
||||
# 启动 udevd 服务,保证鼠标设备能正常监视,否则键盘不能使用
|
||||
::sysinit:/bin/echo "starting udevd ... ..."
|
||||
::sysinit:/usr/sbin/udevd --daemon
|
||||
|
Loading…
Reference in New Issue
Block a user