summaryrefslogtreecommitdiff
path: root/update-initramfs.conf
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-29 14:36:26 -0400
committerAndrew Cady <d@jerkface.net>2016-04-29 14:36:30 -0400
commit153d299a41b9be4e15dab1ca29bb93a74bd2445d (patch)
tree96fbfbe7c64f0b3f02f3d755e2b129917785bb98 /update-initramfs.conf
parent5f41fb879ca830e5ad3345878e59072f3d6573bc (diff)
fix paths (in progress)
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