Changeset f25bf53 in bootscripts-embedded for clfs/rc.d/init.d/syslog


Ignore:
Timestamp:
Jan 31, 2009, 10:18:40 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
4230d00
Parents:
fe1b471
Message:

Formatting change to embedded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clfs/rc.d/init.d/syslog

    rfe1b471 rf25bf53  
    1010case "$1" in
    1111start)
    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         ;;
     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;;
    1919stop)
    20         echo -n "Stopping klogd: "
    21         killall klogd
    22         check_status
    23         echo -n "Stopping syslogd: "
    24         killall syslogd
    25         check_status
    26         ;;
     20  echo -n "Stopping klogd: "
     21  killall klogd
     22  check_status
     23  echo -n "Stopping syslogd: "
     24  killall syslogd
     25  check_status
     26;;
    2727restart)
    28         $0 stop
    29         $0 start
    30         ;;
     28  $0 stop
     29  $0 start
     30;;
    3131*)
    32         echo "Usage: $0 {start|stop|restart}"
    33         exit 1
     32  echo "Usage: $0 {start|stop|restart}"
     33  exit 1
    3434esac
Note: See TracChangeset for help on using the changeset viewer.