Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
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
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
e504d6b3
Commit
e504d6b3
authored
Feb 11, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts/disable-service.sh: check for unset variable SERVICE
parent
344128b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
disable-service.sh
scripts/disable-service.sh
+6
-0
No files found.
scripts/disable-service.sh
View file @
e504d6b3
...
@@ -25,6 +25,12 @@ while getopts ":s:" opt; do
...
@@ -25,6 +25,12 @@ while getopts ":s:" opt; do
esac
esac
done
done
if
[
-z
"
$SERVICE
"
]
;
then
echo
"
\"
SERVICE
\"
variable unset."
usage
exit
1
fi
INIT_SYSTEM
=
$(
./get-init-system.sh
)
INIT_SYSTEM
=
$(
./get-init-system.sh
)
# Enable service depending on which init system we are
# Enable service depending on which init system we are
...
...
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