summaryrefslogtreecommitdiff
path: root/scripts/boot.sh
blob: 11e8094cbebfff097abefa4dccf8ee8057797620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# set -e

# Reading configuration file from filesystem and live-media
for _FILE in /etc/live/boot.conf /etc/live/boot/* \
	     /live/image/live/boot.conf /live/image/live/boot/*
do
	if [ -e "${_FILE}" ]
	then
		. "${_FILE}"
	fi
done

for _SCRIPT in /lib/live/boot/????-*
do
	if [ -e "${_SCRIPT}" ]
	then
		. ${_SCRIPT}
	fi
done