Browse Source

remove all vim and emacs code format comments

master
Harald Hoyer 10 years ago
parent
commit
967cc19ab1
  1. 2
      50-dracut.install
  2. 2
      51-dracut-rescue-postinst.sh
  3. 2
      51-dracut-rescue.install
  4. 2
      configure
  5. 3
      dracut-bash-completion.sh
  6. 2
      dracut-catimages.sh
  7. 2
      dracut-functions.sh
  8. 2
      dracut-initramfs-restore.sh
  9. 2
      dracut-logger.sh
  10. 2
      dracut.sh
  11. 2
      install/dracut-install.c
  12. 2
      install/hashmap.c
  13. 2
      install/hashmap.h
  14. 2
      install/log.c
  15. 2
      install/log.h
  16. 2
      install/macro.h
  17. 2
      install/strv.c
  18. 2
      install/strv.h
  19. 2
      install/util.c
  20. 2
      install/util.h
  21. 3
      lsinitrd-bash-completion.sh
  22. 2
      lsinitrd.sh
  23. 2
      mkinitrd-suse.sh
  24. 2
      modules.d/00bash/module-setup.sh
  25. 2
      modules.d/00bootchart/module-setup.sh
  26. 2
      modules.d/00dash/module-setup.sh
  27. 2
      modules.d/00systemd-bootchart/module-setup.sh
  28. 2
      modules.d/01fips/fips-boot.sh
  29. 2
      modules.d/01fips/fips-noboot.sh
  30. 2
      modules.d/01fips/fips.sh
  31. 2
      modules.d/01fips/module-setup.sh
  32. 2
      modules.d/02caps/caps.sh
  33. 2
      modules.d/02caps/module-setup.sh
  34. 2
      modules.d/02fips-aesni/module-setup.sh
  35. 2
      modules.d/03modsign/load-modsign-keys.sh
  36. 2
      modules.d/03modsign/module-setup.sh
  37. 2
      modules.d/03rescue/module-setup.sh
  38. 2
      modules.d/04watchdog/module-setup.sh
  39. 2
      modules.d/05busybox/module-setup.sh
  40. 2
      modules.d/10i18n/console_init.sh
  41. 2
      modules.d/10i18n/module-setup.sh
  42. 2
      modules.d/10i18n/parse-i18n.sh
  43. 2
      modules.d/30convertfs/convertfs.sh
  44. 2
      modules.d/30convertfs/do-convertfs.sh
  45. 2
      modules.d/30convertfs/module-setup.sh
  46. 2
      modules.d/40network/dhclient-script.sh
  47. 2
      modules.d/40network/dhcp-root.sh
  48. 2
      modules.d/40network/ifname-genrules.sh
  49. 2
      modules.d/40network/ifup.sh
  50. 2
      modules.d/40network/kill-dhclient.sh
  51. 2
      modules.d/40network/module-setup.sh
  52. 2
      modules.d/40network/net-genrules.sh
  53. 2
      modules.d/40network/net-lib.sh
  54. 2
      modules.d/40network/netroot.sh
  55. 2
      modules.d/40network/parse-bridge.sh
  56. 2
      modules.d/40network/parse-ibft.sh
  57. 2
      modules.d/40network/parse-ifname.sh
  58. 2
      modules.d/40network/parse-ip-opts.sh
  59. 2
      modules.d/45ifcfg/module-setup.sh
  60. 2
      modules.d/45ifcfg/write-ifcfg.sh
  61. 2
      modules.d/50drm/module-setup.sh
  62. 2
      modules.d/50gensplash/gensplash-emergency.sh
  63. 2
      modules.d/50gensplash/gensplash-newroot.sh
  64. 2
      modules.d/50gensplash/gensplash-pretrigger.sh
  65. 2
      modules.d/50gensplash/module-setup.sh
  66. 2
      modules.d/50plymouth/module-setup.sh
  67. 3
      modules.d/50plymouth/plymouth-emergency.sh
  68. 2
      modules.d/50plymouth/plymouth-newroot.sh
  69. 3
      modules.d/50plymouth/plymouth-populate-initrd.sh
  70. 2
      modules.d/50plymouth/plymouth-pretrigger.sh
  71. 2
      modules.d/80cms/cms-write-ifcfg.sh
  72. 2
      modules.d/80cms/cmsifup.sh
  73. 2
      modules.d/80cms/cmssetup.sh
  74. 2
      modules.d/80cms/module-setup.sh
  75. 2
      modules.d/90btrfs/btrfs_device_ready.sh
  76. 2
      modules.d/90btrfs/btrfs_finished.sh
  77. 2
      modules.d/90btrfs/btrfs_timeout.sh
  78. 2
      modules.d/90btrfs/module-setup.sh
  79. 3
      modules.d/90crypt/crypt-cleanup.sh
  80. 2
      modules.d/90crypt/crypt-lib.sh
  81. 2
      modules.d/90crypt/crypt-run-generator.sh
  82. 2
      modules.d/90crypt/cryptroot-ask.sh
  83. 2
      modules.d/90crypt/module-setup.sh
  84. 2
      modules.d/90crypt/parse-crypt.sh
  85. 2
      modules.d/90crypt/parse-keydev.sh
  86. 2
      modules.d/90crypt/probe-keydev.sh
  87. 3
      modules.d/90dm/dm-pre-udev.sh
  88. 3
      modules.d/90dm/dm-shutdown.sh
  89. 2
      modules.d/90dm/module-setup.sh
  90. 2
      modules.d/90dmraid/dmraid.sh
  91. 2
      modules.d/90dmraid/module-setup.sh
  92. 3
      modules.d/90dmraid/parse-dm.sh
  93. 3
      modules.d/90dmsquash-live/dmsquash-live-genrules.sh
  94. 2
      modules.d/90dmsquash-live/dmsquash-live-root.sh
  95. 3
      modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
  96. 2
      modules.d/90dmsquash-live/iso-scan.sh
  97. 2
      modules.d/90dmsquash-live/module-setup.sh
  98. 2
      modules.d/90dmsquash-live/parse-dmsquash-live.sh
  99. 2
      modules.d/90dmsquash-live/parse-iso-scan.sh
  100. 2
      modules.d/90kernel-modules/insmodpost.sh
  101. Some files were not shown because too many files have changed in this diff Show More

2
50-dracut.install

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

COMMAND="$1"
KERNEL_VERSION="$2"

2
51-dracut-rescue-postinst.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

export LANG=C


2
51-dracut-rescue.install

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

export LANG=C


2
configure vendored

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# We don't support srcdir != builddir
echo \#buildapi-variable-no-builddir >/dev/null

3
dracut-bash-completion.sh

@ -1,7 +1,4 @@ @@ -1,7 +1,4 @@
#
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Copyright 2013 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify

2
dracut-catimages.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash --norc
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Copyright 2009 Red Hat, Inc. All rights reserved.
#

2
dracut-functions.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# functions used by dracut and other tools.
#

2
dracut-initramfs-restore.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

set -e


2
dracut-logger.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 et filetype=sh
#
# logging faciality module for dracut both at build- and boot-time
#

2
dracut.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Generator script for a dracut initramfs
# Tries to retain some degree of compatibility with the command line

2
install/dracut-install.c

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

/* dracut-install.c -- install files and executables

Copyright (C) 2012 Harald Hoyer

2
install/hashmap.c

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

/***
This file is part of systemd.


2
install/hashmap.h

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

#ifndef foohashmaphfoo
#define foohashmaphfoo


2
install/log.c

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

/***
This file is part of systemd.


2
install/log.h

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

#ifndef foologhfoo
#define foologhfoo


2
install/macro.h

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

#pragma once

/***

2
install/strv.c

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

/***
This file is part of systemd.


2
install/strv.h

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

#pragma once

/***

2
install/util.c

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

/***
This file is part of systemd.


2
install/util.h

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/

#ifndef fooutilhfoo
#define fooutilhfoo


3
lsinitrd-bash-completion.sh

@ -1,7 +1,4 @@ @@ -1,7 +1,4 @@
#
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Copyright 2013 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify

2
lsinitrd.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Copyright 2005-2010 Harald Hoyer <harald@redhat.com>
# Copyright 2005-2010 Red Hat, Inc. All rights reserved.

2
mkinitrd-suse.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash --norc
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# mkinitrd compability wrapper for SUSE.
#

2
modules.d/00bash/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/00bootchart/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/00dash/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/00systemd-bootchart/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/01fips/fips-boot.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if ! fipsmode=$(getarg fips) || [ $fipsmode = "0" ]; then
rm -f -- /etc/modprobe.d/fips.conf >/dev/null 2>&1

2
modules.d/01fips/fips-noboot.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if ! fipsmode=$(getarg fips) || [ $fipsmode = "0" ]; then
rm -f -- /etc/modprobe.d/fips.conf >/dev/null 2>&1

2
modules.d/01fips/fips.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

mount_boot()
{

2
modules.d/01fips/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/02caps/caps.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

capsmode=$(getarg rd.caps)


2
modules.d/02caps/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/02fips-aesni/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/03modsign/load-modsign-keys.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Licensed under the GPLv2
#

2
modules.d/03modsign/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Licensed under the GPLv2
#

2
modules.d/03rescue/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/04watchdog/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/05busybox/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/10i18n/console_init.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

[ -n "$DRACUT_SYSTEMD" ] && exit 0


2
modules.d/10i18n/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/10i18n/parse-i18n.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

inst_key_val() {
local _value

2
modules.d/30convertfs/convertfs.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

ROOT="$1"


2
modules.d/30convertfs/do-convertfs.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if getargbool 0 rd.convertfs; then
if getargbool 0 rd.debug; then

2
modules.d/30convertfs/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/40network/dhclient-script.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

PATH=/usr/sbin:/usr/bin:/sbin:/bin


2
modules.d/40network/dhcp-root.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# This script is sourced, so root should be set. But let's be paranoid
[ -z "$root" ] && root=$(getarg root=)

2
modules.d/40network/ifname-genrules.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# if there are no ifname parameters, just use NAME=KERNEL
if ! getarg ifname= >/dev/null ; then

2
modules.d/40network/ifup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# We don't need to check for ip= errors here, that is handled by the
# cmdline parser script

2
modules.d/40network/kill-dhclient.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

for f in /tmp/dhclient.*.pid; do
[ -e $f ] || continue

2
modules.d/40network/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/40network/net-genrules.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

getargbool 0 rd.neednet && NEEDNET=1


2
modules.d/40network/net-lib.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

get_ip() {
local iface="$1" ip=""

2
modules.d/40network/netroot.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

PATH=/usr/sbin:/usr/bin:/sbin:/bin
command -v getarg >/dev/null || . /lib/dracut-lib.sh

2
modules.d/40network/parse-bridge.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Format:
# bridge=<bridgename>:<bridgeslaves>

2
modules.d/40network/parse-ibft.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

command -v getarg >/dev/null || . /lib/dracut-lib.sh
command -v ibft_to_cmdline >/dev/null || . /lib/net-lib.sh

2
modules.d/40network/parse-ifname.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Format:
# ifname=<interface>:<mac>

2
modules.d/40network/parse-ip-opts.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
#
# Format:
# ip=[dhcp|on|any]

2
modules.d/45ifcfg/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/45ifcfg/write-ifcfg.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# NFS root might have reached here before /tmp/net.ifaces was written
type is_persistent_ethernet_name >/dev/null 2>&1 || . /lib/net-lib.sh

2
modules.d/50drm/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/50gensplash/gensplash-emergency.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

CDROOT=0
. /lib/gensplash-lib.sh

2
modules.d/50gensplash/gensplash-newroot.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

CDROOT=0
. /lib/gensplash-lib.sh

2
modules.d/50gensplash/gensplash-pretrigger.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if getargbool 1 rd.splash -d -n rd_NO_SPLASH; then
info "Starting Gentoo Splash"

2
modules.d/50gensplash/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/50plymouth/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

3
modules.d/50plymouth/plymouth-emergency.sh

@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

plymouth --hide-splash 2>/dev/null || :

2
modules.d/50plymouth/plymouth-newroot.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if type plymouth >/dev/null 2>&1 && [ -z "$DRACUT_SYSTEMD" ]; then
plymouth --newroot=$NEWROOT

3
modules.d/50plymouth/plymouth-populate-initrd.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png"
PLYMOUTH_THEME=$(plymouth-set-default-theme)


2
modules.d/50plymouth/plymouth-pretrigger.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if type plymouthd >/dev/null 2>&1 && [ -z "$DRACUT_SYSTEMD" ]; then
if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then

2
modules.d/80cms/cms-write-ifcfg.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/80cms/cmsifup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/80cms/cmssetup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/80cms/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/90btrfs/btrfs_device_ready.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/90btrfs/btrfs_finished.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/90btrfs/btrfs_timeout.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/90btrfs/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

3
modules.d/90crypt/crypt-cleanup.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# close everything which is not busy
rm -f -- /etc/udev/rules.d/70-luks.rules >/dev/null 2>&1


2
modules.d/90crypt/crypt-lib.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

command -v getarg >/dev/null || . /lib/dracut-lib.sh


2
modules.d/90crypt/crypt-run-generator.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

. /lib/dracut-lib.sh
type crypttab_contains >/dev/null 2>&1 || . /lib/dracut-crypt-lib.sh

2
modules.d/90crypt/cryptroot-ask.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

PATH=/usr/sbin:/usr/bin:/sbin:/bin
NEWROOT=${NEWROOT:-"/sysroot"}

2
modules.d/90crypt/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/90crypt/parse-crypt.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type crypttab_contains >/dev/null 2>&1 || . /lib/dracut-crypt-lib.sh


2
modules.d/90crypt/parse-keydev.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if getargbool 1 rd.luks -n rd_NO_LUKS && \
[ -n "$(getarg rd.luks.key)" ]; then

2
modules.d/90crypt/probe-keydev.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

. /lib/dracut-crypt-lib.sh


3
modules.d/90dm/dm-pre-udev.sh

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

strstr "$(cat /proc/misc)" device-mapper || modprobe dm_mod
modprobe dm_mirror 2>/dev/null

3
modules.d/90dm/dm-shutdown.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

_do_dm_shutdown() {
local ret
local final=$1

2
modules.d/90dm/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/90dmraid/dmraid.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/90dmraid/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

3
modules.d/90dmraid/parse-dm.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# nodmraid for anaconda / rc.sysinit compatibility
if ! getargbool 1 rd.dm -d -n rd_NO_DM || getarg "rd.dm=0" -d nodmraid; then
info "rd.dm=0: removing DM RAID activation"

3
modules.d/90dmsquash-live/dmsquash-live-genrules.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

case "$root" in
live:/dev/*)
{

2
modules.d/90dmsquash-live/dmsquash-live-root.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


3
modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if [ "${root%%:*}" = "liveiso" ]; then
{
printf 'KERNEL=="loop-control", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root `/sbin/losetup -f --show %s`"\n' \

2
modules.d/90dmsquash-live/iso-scan.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh


2
modules.d/90dmsquash-live/module-setup.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {

2
modules.d/90dmsquash-live/parse-dmsquash-live.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# live images are specified with
# root=live:backingdev


2
modules.d/90dmsquash-live/parse-iso-scan.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# live images are specified with
# root=live:backingdev


2
modules.d/90kernel-modules/insmodpost.sh

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

. /lib/dracut-lib.sh


Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save