Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
9a7d2655
Commit
9a7d2655
authored
Mar 13, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: do not enable/disable serivices with prefix "livecd-" in installer
parent
debf6e4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
10-services
features.in/services/install2/image-scripts.d/10-services
+3
-3
10-services-install
...ures.in/services/live/image-scripts.d/10-services-install
+3
-3
No files found.
features.in/services/install2/image-scripts.d/10-services
View file @
9a7d2655
...
@@ -57,7 +57,7 @@ SERVICES="$GLOBAL_DEFAULT_SERVICES_ENABLE $GLOBAL_DEFAULT_SERVICES_DISABLE"
...
@@ -57,7 +57,7 @@ SERVICES="$GLOBAL_DEFAULT_SERVICES_ENABLE $GLOBAL_DEFAULT_SERVICES_DISABLE"
SERVICES
=
"
$SERVICES
$GLOBAL_SERVICES_ENABLE
$GLOBAL_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SERVICES_ENABLE
$GLOBAL_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_SERVICES_ENABLE
$GLOBAL_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_SERVICES_ENABLE
$GLOBAL_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$(
echo
$SERVICES
|
tr
" "
"
\n
"
|
sort
-u
)
"
SERVICES
=
"
$(
echo
$SERVICES
|
sed
'/^livecd-/d'
|
tr
" "
"
\n
"
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
@@ -98,7 +98,7 @@ for i in $GLOBAL_SYSTEMD_SERVICES_MASK; do switch $i mask; done
...
@@ -98,7 +98,7 @@ for i in $GLOBAL_SYSTEMD_SERVICES_MASK; do switch $i mask; done
for
i
in
$GLOBAL_SYSTEMD_SERVICES_UNMASK
;
do
switch
$i
unmask
;
done
for
i
in
$GLOBAL_SYSTEMD_SERVICES_UNMASK
;
do
switch
$i
unmask
;
done
SERVICES
=
"
$GLOBAL_SYSTEMD_SERVICES_MASK
$GLOBAL_SYSTEMD_SERVICES_UNMASK
"
SERVICES
=
"
$GLOBAL_SYSTEMD_SERVICES_MASK
$GLOBAL_SYSTEMD_SERVICES_UNMASK
"
SERVICES
=
"
$(
echo
$SERVICES
|
tr
" "
"
\n
"
|
sort
-u
)
"
SERVICES
=
"
$(
echo
$SERVICES
|
sed
'/^livecd-/d'
|
tr
" "
"
\n
"
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
maskunmask
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
maskunmask
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
@@ -127,7 +127,7 @@ for i in $GLOBAL_SYSTEMD_USER_SERVICES_DISABLE; do switch $i disabled; done
...
@@ -127,7 +127,7 @@ for i in $GLOBAL_SYSTEMD_USER_SERVICES_DISABLE; do switch $i disabled; done
SERVICES
=
"
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$(
echo
"
$SERVICES
"
|
tr
' '
'\n'
|
sort
-u
)
"
SERVICES
=
"
$(
echo
"
$SERVICES
"
|
sed
'/^livecd-/d'
|
tr
' '
'\n'
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
...
features.in/services/live/image-scripts.d/10-services-install
View file @
9a7d2655
...
@@ -61,7 +61,7 @@ SERVICES="$GLOBAL_DEFAULT_SERVICES_ENABLE $GLOBAL_DEFAULT_SERVICES_DISABLE"
...
@@ -61,7 +61,7 @@ SERVICES="$GLOBAL_DEFAULT_SERVICES_ENABLE $GLOBAL_DEFAULT_SERVICES_DISABLE"
SERVICES
=
"
$SERVICES
$GLOBAL_SERVICES_ENABLE
$GLOBAL_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SERVICES_ENABLE
$GLOBAL_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_SERVICES_ENABLE
$GLOBAL_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_SERVICES_ENABLE
$GLOBAL_SYSTEMD_SERVICES_DISABLE
"
SERVICES
=
"
$(
echo
$SERVICES
|
tr
" "
"
\n
"
|
sort
-u
)
"
SERVICES
=
"
$(
echo
$SERVICES
|
sed
'/^livecd-/d'
|
tr
" "
"
\n
"
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
@@ -102,7 +102,7 @@ for i in $GLOBAL_SYSTEMD_SERVICES_MASK; do switch $i mask; done
...
@@ -102,7 +102,7 @@ for i in $GLOBAL_SYSTEMD_SERVICES_MASK; do switch $i mask; done
for
i
in
$GLOBAL_SYSTEMD_SERVICES_UNMASK
;
do
switch
$i
unmask
;
done
for
i
in
$GLOBAL_SYSTEMD_SERVICES_UNMASK
;
do
switch
$i
unmask
;
done
SERVICES
=
"
$GLOBAL_SYSTEMD_SERVICES_MASK
$GLOBAL_SYSTEMD_SERVICES_UNMASK
"
SERVICES
=
"
$GLOBAL_SYSTEMD_SERVICES_MASK
$GLOBAL_SYSTEMD_SERVICES_UNMASK
"
SERVICES
=
"
$(
echo
$SERVICES
|
tr
" "
"
\n
"
|
sort
-u
)
"
SERVICES
=
"
$(
echo
$SERVICES
|
sed
'/^livecd-/d'
|
tr
" "
"
\n
"
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
maskunmask
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
maskunmask
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
@@ -131,7 +131,7 @@ for i in $GLOBAL_SYSTEMD_USER_SERVICES_DISABLE; do switch $i disabled; done
...
@@ -131,7 +131,7 @@ for i in $GLOBAL_SYSTEMD_USER_SERVICES_DISABLE; do switch $i disabled; done
SERVICES
=
"
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_DEFAULT_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$SERVICES
$GLOBAL_SYSTEMD_USER_SERVICES_ENABLE
$GLOBAL_SYSTEMD_USER_SERVICES_DISABLE
"
SERVICES
=
"
$(
echo
"
$SERVICES
"
|
tr
' '
'\n'
|
sort
-u
)
"
SERVICES
=
"
$(
echo
"
$SERVICES
"
|
sed
'/^livecd-/d'
|
tr
' '
'\n'
|
sort
-u
)
"
for
i
in
$SERVICES
;
do
for
i
in
$SERVICES
;
do
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
onoff
=
"
$(
shell_config_get
"
$STATUS
"
"
$i
"
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment