Changeset 292c832 in bootscripts-embedded for clfs/rc.d/init.d/syslog
- Timestamp:
- Jan 30, 2011, 10:13:21 AM (14 years ago)
- Branches:
- master
- Children:
- 73ee2a6
- Parents:
- 5d96f6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
clfs/rc.d/init.d/syslog
r5d96f6a r292c832 6 6 . /etc/rc.d/init.d/functions 7 7 8 SYSLOG_ROTATE_SIZE= 80kb8 SYSLOG_ROTATE_SIZE=65536 9 9 10 10 case "$1" in 11 11 start) 12 13 14 15 16 17 18 ;;12 echo -n "Starting syslogd: " 13 syslogd -m 0 -s $SYSLOG_ROTATE_SIZE -L 14 check_status 15 echo -n "Starting klogd: " 16 klogd 17 check_status 18 ;; 19 19 stop) 20 21 22 23 24 25 26 ;;20 echo -n "Stopping klogd: " 21 killall klogd 22 check_status 23 echo -n "Stopping syslogd: " 24 killall syslogd 25 check_status 26 ;; 27 27 restart) 28 29 30 ;;28 $0 stop 29 $0 start 30 ;; 31 31 *) 32 33 32 echo "Usage: $0 {start|stop|restart}" 33 exit 1 34 34 esac
Note:
See TracChangeset
for help on using the changeset viewer.