mirror of
https://github.com/fspc/gbootroot.git
synced 2025-04-04 07:43:22 -04:00
Welcome to the world of distribution portability.
This commit is contained in:
parent
bf7dd83bba
commit
08fe16db4c
@ -1,4 +1,4 @@
|
|||||||
# $Id: Example.yard,v 1.16 2001/12/14 04:34:46 freesource Exp $
|
# $Id: Example.yard,v 1.17 2002/02/08 04:15:23 freesource Exp $
|
||||||
# Example.yard
|
# Example.yard
|
||||||
#
|
#
|
||||||
# Creates a minimalistic multi-user runlevel root filesystem with getty.
|
# Creates a minimalistic multi-user runlevel root filesystem with getty.
|
||||||
@ -148,6 +148,10 @@ telinit
|
|||||||
# PROVISIONS FOR PAM:
|
# PROVISIONS FOR PAM:
|
||||||
/etc/pam.d/other
|
/etc/pam.d/other
|
||||||
/etc/pam.d/login
|
/etc/pam.d/login
|
||||||
|
\ if ( /etc/pam.d/system-auth )
|
||||||
|
# RedHat uses this
|
||||||
|
/etc/pam.d/system-auth \
|
||||||
|
|
||||||
# /etc/pam.conf
|
# /etc/pam.conf
|
||||||
|
|
||||||
# PROVISIONS FOR NSS
|
# PROVISIONS FOR NSS
|
||||||
@ -167,21 +171,34 @@ telinit
|
|||||||
#
|
#
|
||||||
#===== DEBIAN uses a program called "getty" which is actually agetty in
|
#===== DEBIAN uses a program called "getty" which is actually agetty in
|
||||||
#===== disguise:
|
#===== disguise:
|
||||||
|
|
||||||
|
\
|
||||||
|
if ( getty )
|
||||||
|
|
||||||
/etc/inittab <= Replacements/etc/inittab.example-deb
|
/etc/inittab <= Replacements/etc/inittab.example-deb
|
||||||
#/etc/inittab <= Replacements/etc/inittab.example-deb-nodevfs
|
#/etc/inittab <= Replacements/etc/inittab.example-deb-nodevfs
|
||||||
/sbin/getty
|
/sbin/getty
|
||||||
|
|
||||||
#
|
#
|
||||||
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
|
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
|
||||||
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
|
|
||||||
|
elsif ( mingetty )
|
||||||
|
|
||||||
|
/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm
|
||||||
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs
|
#/etc/inittab <= Replacements/etc/inittab.example.mingetty-rpm-nodevfs
|
||||||
#/sbin/mingetty
|
/sbin/mingetty
|
||||||
#/etc/gettydefs
|
/etc/gettydefs
|
||||||
|
|
||||||
#
|
#
|
||||||
#===== SLACKWARE uses agetty:
|
#===== SLACKWARE uses agetty:
|
||||||
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack
|
|
||||||
|
elsif ( agetty )
|
||||||
|
|
||||||
|
/etc/inittab <= Replacements/etc/inittab.example.agetty-slack
|
||||||
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs
|
#/etc/inittab <= Replacements/etc/inittab.example.agetty-slack-nodevfs
|
||||||
#/sbin/agetty
|
/sbin/agetty
|
||||||
#/etc/gettydefs
|
/etc/gettydefs
|
||||||
|
\
|
||||||
|
|
||||||
# Devices - If devfs isn't desired use the kernel option devfs=nomount
|
# Devices - If devfs isn't desired use the kernel option devfs=nomount
|
||||||
/dev/console
|
/dev/console
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $Id$
|
# $Id: Helper.yard,v 1.2 2002/12/12 01:10:23 freesource Exp $
|
||||||
# Helper.yard
|
# Helper.yard
|
||||||
#
|
#
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@ -79,6 +79,9 @@ telinit
|
|||||||
# PROVISIONS FOR PAM:
|
# PROVISIONS FOR PAM:
|
||||||
/etc/pam.d/other
|
/etc/pam.d/other
|
||||||
/etc/pam.d/login
|
/etc/pam.d/login
|
||||||
|
\ if ( /etc/pam.d/system-auth )
|
||||||
|
# RedHat uses this
|
||||||
|
/etc/pam.d/system-auth \
|
||||||
# /etc/pam.conf
|
# /etc/pam.conf
|
||||||
|
|
||||||
# PROVISIONS FOR NSS
|
# PROVISIONS FOR NSS
|
||||||
@ -99,10 +102,31 @@ telinit
|
|||||||
#===== DEBIAN uses a program called "getty" which is actually agetty in
|
#===== DEBIAN uses a program called "getty" which is actually agetty in
|
||||||
#===== disguise:
|
#===== disguise:
|
||||||
|
|
||||||
## The only difference here is that there is only one getty.
|
\
|
||||||
|
if ( getty )
|
||||||
/etc/inittab <= Replacements/etc/inittab.example-helper
|
/etc/inittab <= Replacements/etc/inittab.example-helper
|
||||||
/sbin/getty
|
/sbin/getty
|
||||||
|
|
||||||
|
#
|
||||||
|
#===== MANDRAKE, REDHAT and many other modern RH based DISTS use mingetty:
|
||||||
|
|
||||||
|
elsif ( mingetty )
|
||||||
|
|
||||||
|
/etc/inittab <= Replacements/etc/inittab.example-mingetty-helper
|
||||||
|
/sbin/mingetty
|
||||||
|
/etc/gettydefs
|
||||||
|
|
||||||
|
#
|
||||||
|
#===== SLACKWARE uses agetty:
|
||||||
|
|
||||||
|
elsif ( agetty )
|
||||||
|
|
||||||
|
/etc/inittab <= Replacements/etc/inittab.example-agetty-helper
|
||||||
|
/sbin/agetty
|
||||||
|
/etc/gettydefs
|
||||||
|
\
|
||||||
|
|
||||||
|
|
||||||
##### utmp and wtmp.
|
##### utmp and wtmp.
|
||||||
# Made by rcS if they don't exist.
|
# Made by rcS if they don't exist.
|
||||||
##w
|
##w
|
||||||
|
Loading…
x
Reference in New Issue
Block a user