Last change
on this file was
1827,
checked in by mabarracus, 5 years ago
|
Final config & renamed scripts
|
-
Property svn:executable set to
*
|
File size:
625 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | set -e |
---|
3 | |
---|
4 | source CONFIG |
---|
5 | source functions |
---|
6 | |
---|
7 | ensure BASE NAME |
---|
8 | |
---|
9 | echo "Customizing ..." |
---|
10 | |
---|
11 | cat > ./${BASE}/${NAME}/etc/lsb_release << _EOF |
---|
12 | DISTRIB_ID=LliureX |
---|
13 | DISTRIB_RELEASE=16.05 |
---|
14 | DISTRIB_CODENAME=xenial |
---|
15 | DISTRIB_DESCRIPTION="Lliurex 16.05 Xenial Mini-Light-Client" |
---|
16 | _EOF |
---|
17 | |
---|
18 | if [ "$?" != "0" ]; then |
---|
19 | exit 1 |
---|
20 | fi |
---|
21 | |
---|
22 | cat > ./${BASE}/${NAME}/etc/issue << _EOF |
---|
23 | Lliurex 16.05 (mini-light-client) \n \l |
---|
24 | With great power comes great responsibility! |
---|
25 | |
---|
26 | _EOF |
---|
27 | |
---|
28 | if [ "$?" != "0" ]; then |
---|
29 | exit 1 |
---|
30 | fi |
---|
31 | |
---|
32 | cat > ./${BASE}/${NAME}/etc/issue.net << _EOF |
---|
33 | Lliurex 16.05 (mini-light-client) |
---|
34 | |
---|
35 | _EOF |
---|
36 | |
---|
37 | if [ "$?" != "0" ]; then |
---|
38 | exit 1 |
---|
39 | fi |
---|
40 | |
---|
41 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.