summaryrefslogtreecommitdiff
path: root/update-initramfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'update-initramfs.conf')
-rw-r--r--update-initramfs.conf30
1 files changed, 0 insertions, 30 deletions
diff --git a/update-initramfs.conf b/update-initramfs.conf
deleted file mode 100644
index ce86f30..0000000
--- a/update-initramfs.conf
+++ /dev/null
@@ -1,30 +0,0 @@
1#
2# Configuration file for update-initramfs(8)
3#
4
5#
6# update_initramfs [ yes | all | no ]
7#
8# Default is yes
9# If set to all update-initramfs will update all initramfs
10# If set to no disables any update to initramfs beside kernel upgrade
11
12update_initramfs=yes
13
14#
15# backup_initramfs [ yes | no ]
16#
17# Default is no
18# If set to no leaves no .bak backup files.
19
20backup_initramfs=no
21
22if [ "$SAMIZDAT_UPDATE_INITRAMFS_ROOT" ]; then
23 STATEDIR="$SAMIZDAT_UPDATE_INITRAMFS_ROOT"/var/lib/initramfs-tools
24 BOOTDIR="$SAMIZDAT_UPDATE_INITRAMFS_ROOT"/boot
25 test -d "$SAMIZDAT_UPDATE_INITRAMFS_ROOT" || {
26 echo "$0: Error: not a directory: ${SAMIZDAT_UPDATE_INITRAMFS_ROOT}" >&2
27 exit 1
28 }
29 mkdir -p "$STATEDIR" "$BOOTDIR"
30fi