summaryrefslogtreecommitdiffstats
path: root/modules.d/conf-tgz/module-setup.sh
blob: 5315dab88fedd1fa21ecba431fca9efab0c35b0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
check() {
    return 255
}
depends() {
    echo dnbd3-rootfs slx-tools
}
install() {
    inst_hook pre-mount 20 "$moddir/hooks/fetch-config-tgz.sh"
    inst_hook pre-pivot 90 "$moddir/hooks/unpack-config-tgz.sh"
		# TODO check if busybox is enough
    inst_multiple tar mktemp gzip
}