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

# set -e

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

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