Changeset f25bf53 in bootscripts-embedded for clfs/rc.d/init.d/syslog
- Timestamp:
- Jan 31, 2009, 10:18:40 AM (16 years ago)
- Branches:
- master
- Children:
- 4230d00
- Parents:
- fe1b471
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
clfs/rc.d/init.d/syslog
rfe1b471 rf25bf53 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.