Changeset dad97de


Ignore:
Timestamp:
05/14/2011 06:54:11 PM (13 years ago)
Author:
DJ Lucas <dj@…>
Branches:
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
Children:
2c1e486
Parents:
bd1b5be
Message:

Moved configuration of clock and hostname to rc.site

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

Location:
bootscripts/contrib/lsb-v3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/contrib/lsb-v3/ChangeLog

    rbd1b5be rdad97de  
    22
    3320110514 - [dj]
    4         * Added FAILURE_ACTION variable to rc.site for use in remote systems
     4        * Added FAILURE_ACTION variable to rc.site for use in remote systems
    55          where user input is not appropriate in the event of a failure
     6        * Moved configuration of clock and hostname to rc.site
    67
    7820110424 - [dj]
  • bootscripts/contrib/lsb-v3/init.d/checkfs

    rbd1b5be rdad97de  
    44### BEGIN INIT INFO
    55# Provides:            checkfs
    6 # Required-Start:      udev swap $time
     6# Required-Start:      udev swap
    77# Should-Start:
    88# Required-Stop:
  • bootscripts/contrib/lsb-v3/init.d/localnet

    rbd1b5be rdad97de  
    1717
    1818. /lib/lsb/init-functions
    19 . /etc/sysconfig/network
    2019
    2120case "${1}" in
  • bootscripts/contrib/lsb-v3/init.d/setclock

    rbd1b5be rdad97de  
    33
    44### BEGIN INIT INFO
    5 # Provides:            $time
     5# Provides:            hwclock
    66# Required-Start:
    77# Should-Start:        modules
    88# Required-Stop:
    99# Should-Stop:         $syslog
    10 # Default-Start:       S
     10# Default-Start:
    1111# Default-Stop:
    1212# Short-Description:   Stores and restores time from the hardware clock
     
    1919
    2020BIN_FILE="/sbin/hwclock"
    21 CONFIGFILE="/etc/sysconfig/clock"
    2221
    2322chk_stat
    24 
    25 . "${CONFIGFILE}"
    26 
    27 CLOCKPARAMS=
    2823
    2924case "${UTC}" in
  • bootscripts/contrib/lsb-v3/sysconfig/rc.site

    rbd1b5be rdad97de  
    1313# Bootlogging (requires a tempfs mount)
    1414BOOTLOG_ENAB="yes"
     15
     16# Hostname
     17HOSTNAME=<lfs>
     18
     19# System time variables
     20UTC=1
     21CLOCKPARAMS=
    1522
    1623# Manual input is not appropriate on remote systems. Define what happens when
     
    3845# Export varialbles so that they are inherited by the initscripts
    3946export RC_BASE RC_FUNCTIONS NETWORK_DEVICES TEMPFS_MOUNT BOOTLOG_ENAB
    40 export FAILURE_ACTION
     47export HOSTNAME UTC CLOCKPARAMS FAILURE_ACTION
    4148export DISTRO DISTRO_CONTACT DISTRO_MINI
    4249export BRACKET FAILURE INFO NORMAL SUCCESS WARNING
Note: See TracChangeset for help on using the changeset viewer.