summarylogtreecommitdiffstats
path: root/btrfs_install
blob: 61fa255cad7f72b8d0d5c79b7077c1cd49a9fc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

build() {
    add_module btrfs

    add_binary btrfs
    add_binary btrfsck
    add_binary kexec

    if [ -f /etc/default/btrfs_advanced ]; then
        add_file /etc/default/btrfs_advanced
    fi

    add_runscript
}


help() {
    cat <<HELPEOF
This hook provides advanced support for single and multi device btrfs
partitions, including rollback operations at boot time. If you do not
use the "udev" hook, then you MUST add the "btrfs" hook before this one.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: