Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
archutils
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
archutils
Commits
3b8ad738
Commit
3b8ad738
authored
9 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
Remove trailing whitespaces
parent
b8e3aec5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
checkservices
+6
-6
6 additions, 6 deletions
checkservices
with
6 additions
and
6 deletions
checkservices
+
6
−
6
View file @
3b8ad738
...
@@ -40,11 +40,11 @@ confirm=1 # confirm before restart
...
@@ -40,11 +40,11 @@ confirm=1 # confirm before restart
dbus
=
1
# relauch when dbus
dbus
=
1
# relauch when dbus
debug
=
0
# debug mode
debug
=
0
# debug mode
failed
=
1
# display failed service at the end
failed
=
1
# display failed service at the end
pacdiff
=
1
# run pacdiff
pacdiff
=
1
# run pacdiff
reload
=
1
# reload systemd
reload
=
1
# reload systemd
restart
=
1
# restart services
restart
=
1
# restart services
serialize
=
0
# run in parallel
serialize
=
0
# run in parallel
status
=
1
# display status after systemctl
status
=
1
# display status after systemctl
user_slice
=
0
# act on users services
user_slice
=
0
# act on users services
# display application usage and exit 2
# display application usage and exit 2
...
@@ -96,13 +96,13 @@ confirm_restart() {
...
@@ -96,13 +96,13 @@ confirm_restart() {
while
getopts
'hBbCcdFfLlPpRrSsUuZz'
opt
;
do
while
getopts
'hBbCcdFfLlPpRrSsUuZz'
opt
;
do
case
$opt
in
case
$opt
in
B
)
dbus
=
0
;;
b
)
dbus
=
1
;;
B
)
dbus
=
0
;;
b
)
dbus
=
1
;;
C
)
confirm
=
0
;;
c
)
confirm
=
1
;;
C
)
confirm
=
0
;;
c
)
confirm
=
1
;;
d
)
debug
=
1
;;
d
)
debug
=
1
;;
F
)
failed
=
0
;;
f
)
failed
=
1
;;
F
)
failed
=
0
;;
f
)
failed
=
1
;;
L
)
reload
=
0
;;
l
)
reload
=
1
;;
L
)
reload
=
0
;;
l
)
reload
=
1
;;
P
)
pacdiff
=
0
;;
p
)
pacdiff
=
1
;;
P
)
pacdiff
=
0
;;
p
)
pacdiff
=
1
;;
R
)
restart
=
0
;;
r
)
restart
=
1
;;
R
)
restart
=
0
;;
r
)
restart
=
1
;;
S
)
status
=
0
;;
s
)
status
=
1
;;
S
)
status
=
0
;;
s
)
status
=
1
;;
U
)
user_slice
=
0
;;
u
)
user_slice
=
1
;;
U
)
user_slice
=
0
;;
u
)
user_slice
=
1
;;
Z
)
serialize
=
0
;;
z
)
serialize
=
1
;;
Z
)
serialize
=
0
;;
z
)
serialize
=
1
;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment