Add /etc/default/rcS, automatically run fsck at boot.
This commit is contained in:
parent
ed3b1f9cd9
commit
efeb99cb52
2 changed files with 33 additions and 0 deletions
27
modules/rhizomatica_base_system/files/etc/default/rcS
Normal file
27
modules/rhizomatica_base_system/files/etc/default/rcS
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# /etc/default/rcS
|
||||
#
|
||||
# Default settings for the scripts in /etc/rcS.d/
|
||||
#
|
||||
# For information about these variables see the rcS(5) manual page.
|
||||
#
|
||||
# This file belongs to the "initscripts" package.
|
||||
|
||||
# delete files in /tmp during boot older than x days.
|
||||
# '0' means always, -1 or 'infinite' disables the feature
|
||||
TMPTIME=0
|
||||
|
||||
# spawn sulogin during boot, continue normal boot if not used in 30 seconds
|
||||
SULOGIN=no
|
||||
|
||||
# do not allow users to log in until the boot has completed
|
||||
DELAYLOGIN=no
|
||||
|
||||
# assume that the BIOS clock is set to UTC time (recommended)
|
||||
UTC=yes
|
||||
|
||||
# be more verbose during the boot process
|
||||
VERBOSE=no
|
||||
|
||||
# automatically repair filesystems with inconsistencies during boot
|
||||
FSCKFIX=yes
|
|
@ -101,6 +101,12 @@ class rhizomatica_base_system {
|
|||
include ntp
|
||||
include kannel
|
||||
|
||||
#FSCK at boot
|
||||
file { '/etc/default/rcS':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/rhizomatica_base_system/etc/default/rcS',
|
||||
}
|
||||
|
||||
#Grub fix
|
||||
file { '/etc/default/grub':
|
||||
ensure => present,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue