Move configs -> contrib to avoid confusion
This commit is contained in:
parent
54ecbcf90a
commit
b54079b0b4
|
@ -3,7 +3,7 @@
|
|||
# This is the sshd server system-wide configuration file. See
|
||||
# sshd_config(5) for more information.
|
||||
|
||||
Port 2222
|
||||
Port 22
|
||||
#AddressFamily any
|
||||
#ListenAddress 0.0.0.0
|
||||
#ListenAddress ::
|
|
@ -5,6 +5,8 @@ source "$GENTOO_INSTALL_REPO_DIR/scripts/internal_config.sh" || exit 1
|
|||
################################################
|
||||
# Disk configuration
|
||||
|
||||
# TODO us layout maybe config
|
||||
# TODO better explanation for normal password
|
||||
# This function will be called when the key for a luks device is needed.
|
||||
# Parameters:
|
||||
# $1 will be the id of the luks device as given in `create_luks new_id=<id> ...`.
|
||||
|
|
|
@ -133,7 +133,7 @@ configure_portage() {
|
|||
|
||||
install_sshd() {
|
||||
einfo "Installing sshd"
|
||||
install -m0600 -o root -g root "$GENTOO_INSTALL_REPO_DIR/configs/sshd_config" /etc/ssh/sshd_config \
|
||||
install -m0600 -o root -g root "$GENTOO_INSTALL_REPO_DIR/contrib/sshd_config" /etc/ssh/sshd_config \
|
||||
|| die "Could not install /etc/ssh/sshd_config"
|
||||
enable_service sshd
|
||||
groupadd -r sshusers \
|
||||
|
@ -259,7 +259,7 @@ add_fstab_entry() {
|
|||
|
||||
generate_fstab() {
|
||||
einfo "Generating fstab"
|
||||
install -m0644 -o root -g root "$GENTOO_INSTALL_REPO_DIR/configs/fstab" /etc/fstab \
|
||||
install -m0644 -o root -g root "$GENTOO_INSTALL_REPO_DIR/contrib/fstab" /etc/fstab \
|
||||
|| die "Could not overwrite /etc/fstab"
|
||||
add_fstab_entry "UUID=$(get_blkid_uuid_for_id "$DISK_ID_ROOT")" "/" "$DISK_ID_ROOT_TYPE" "$DISK_ID_ROOT_MOUNT_OPTS" "0 1"
|
||||
if [[ $IS_EFI == "true" ]]; then
|
||||
|
|
Loading…
Reference in New Issue