summaryrefslogtreecommitdiff
path: root/backend/modules/init
blob: f7a7628534d95685d5acbb865644e6b00e7ff32e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

function init_installer()
{
	[ -f /etc/default/distro ] && . /etc/default/distro
	export FLL_DISTRO_MODE FLL_DISTRO_NAME FLL_LIVE_USER
	mkdir -p /live/filesystem
	[ -d /live/filesystem/usr ] || mount -o ro /dev/loop0 /live/filesystem
	cfg_set hostname "${FLL_DISTRO_NAME}Box"
}