source: bootscripts/lfs/init.d/sysklogd@ 75fe599

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 75fe599 was 1c48007, checked in by Bruce Dubbs <bdubbs@…>, 16 years ago

Moved bootscripts and udev-config to BOOK
Updated Makefile to automatically generate bootscript and udev-config tarballs
Updated licesnse to be the same as BLFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 978 bytes
Line 
1#!/bin/sh
2########################################################################
3# Begin $rc_base/init.d/sysklogd
4#
5# Description : Sysklogd loader
6#
7# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
8#
9# Version : 00.00
10#
11# Notes :
12#
13########################################################################
14
15. /etc/sysconfig/rc
16. ${rc_functions}
17
18case "${1}" in
19 start)
20 boot_mesg "Starting system log daemon..."
21 loadproc syslogd -m 0
22
23 boot_mesg "Starting kernel log daemon..."
24 loadproc klogd
25 ;;
26
27 stop)
28 boot_mesg "Stopping kernel log daemon..."
29 killproc klogd
30
31 boot_mesg "Stopping system log daemon..."
32 killproc syslogd
33 ;;
34
35 reload)
36 boot_mesg "Reloading system log daemon config file..."
37 reloadproc syslogd
38 ;;
39
40 restart)
41 ${0} stop
42 sleep 1
43 ${0} start
44 ;;
45
46 status)
47 statusproc syslogd
48 statusproc klogd
49 ;;
50
51 *)
52 echo "Usage: ${0} {start|stop|reload|restart|status}"
53 exit 1
54 ;;
55esac
56
57# End $rc_base/init.d/sysklogd
Note: See TracBrowser for help on using the repository browser.