Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Applications
manjaro-architect
Commits
c74d65fc
Commit
c74d65fc
authored
Jul 07, 2020
by
Bernhard Landauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[util-base.sh] fix enable service routine
parent
8efaed63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lib/util-base.sh
lib/util-base.sh
+0
-1
No files found.
lib/util-base.sh
View file @
c74d65fc
...
...
@@ -35,7 +35,6 @@ enable_services() {
echo
"
${
^enable_systemd[@]
}
"
| xargs
-n1
>
/tmp/.services
echo
/mnt/usr/lib/systemd/system/
*
| xargs
-n1
|
cut
-d
/
-f7
|
sed
's/.service//g'
>
/tmp/.available_services
grep
-f
/tmp/.available_services /tmp/.services
>
/tmp/.fix
&&
mv
/tmp/.fix /tmp/.services
arch_chroot
"systemctl enable
$(
cat
/tmp/.services
)
"
2>
$ERR
for
service
in
$(
cat
/tmp/.services
)
;
do
if
[[
-e
/mnt/usr/lib/systemd/system/
$service
]]
;
then
arch_chroot
"systemctl enable
$service
"
2>
$ERR
&&
echo
"enabled service
$service
"
...
...
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