File: live-boot

package info (click to toggle)
open-infrastructure-system-boot 20161101-lts2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 644 kB
  • ctags: 78
  • sloc: sh: 3,202; makefile: 145
file content (20 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download | duplicates (12)
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 _COMPONENT in /lib/live/boot/????-*
do
	if [ -e "${_COMPONENT}" ]
	then
		. ${_COMPONENT}
	fi
done