File tree Expand file tree Collapse file tree
channels/cinnamon/airootfs.any/root Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77# (c) 2019-2021 Fascode Network.
88#
99
10- set -e -u
11-
12-
13- # Default value
14- # All values can be changed by arguments.
15- password=alter
16- boot_splash=false
17- kernel_config_line=(" zen" " vmlinuz-linux-zen" " linux-zen" )
18- theme_name=alter-logo
19- rebuild=false
20- username=' alter'
21- os_name=" Alter Linux"
22- install_dir=" alter"
23- usershell=" /bin/bash"
24- debug=false
25- timezone=" UTC"
26- localegen=" en_US\\ .UTF-8\\ "
27- language=" en"
28-
29-
30- # Parse arguments
31- while getopts ' p:bt:k:rxu:o:i:s:da:g:z:l:' arg; do
32- case " ${arg} " in
33- p) password=" ${OPTARG} " ;;
34- b) boot_splash=true ;;
35- t) theme_name=" ${OPTARG} " ;;
36- k) kernel_config_line=(${OPTARG} ) ;;
37- r) rebuild=true ;;
38- u) username=" ${OPTARG} " ;;
39- o) os_name=" ${OPTARG} " ;;
40- i) install_dir=" ${OPTARG} " ;;
41- s) usershell=" ${OPTARG} " ;;
42- d) debug=true ;;
43- x) debug=true; set -xv ;;
44- a) arch=" ${OPTARG} " ;;
45- g) localegen=" ${OPTARG/ ./ \\ .} \\ " ;;
46- z) timezone=" ${OPTARG} " ;;
47- l) language=" ${OPTARG} " ;;
48- esac
49- done
50-
51-
52- # Parse kernel
53- kernel=" ${kernel_config_line[0]} "
54- kernel_filename=" ${kernel_config_line[1]} "
55- kernel_mkinitcpio_profile=" ${kernel_config_line[2]} "
56-
5710# Enable LightDM to auto login
5811if [[ " ${boot_splash} " = true ]]; then
5912 systemctl enable lightdm-plymouth.service
@@ -69,4 +22,3 @@ sed -i s/%PASSWORD%/${password}/g "/etc/dconf/db/local.d/02-disable-lock"
6922
7023# Update system datebase
7124dconf update
72-
You can’t perform that action at this time.
0 commit comments