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


Ignore:
Timestamp:
Jan 30, 2011, 10:13:21 AM (13 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
73ee2a6
Parents:
5d96f6a
Message:

Imported updates of existing bootscripts

Imported bootscripts that already existed from clfs-embedded/bootscripts
as bootscripts should be kept in this repo rather than in the
clfs-embedded repo.

The script changes have NOT BEEN TESTED! (yet)
This is part of a cleanup of bootscripts.

File:
1 edited

Legend:

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

    r5d96f6a r292c832  
    66. /etc/rc.d/init.d/functions
    77
    8 SYSLOG_ROTATE_SIZE=80kb
     8SYSLOG_ROTATE_SIZE=65536
    99
    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.