summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2015-07-14 12:37:34 +0000
committerAlan Lacerda <alacerda@alpinelinux.org>2015-07-14 12:37:34 +0000
commit7ed7f742ff587dbffccffd75ac9440109ed0d1b7 (patch)
tree7ce28ff7dbc356c48dd8f81ec5bad8ccb8154279
parentcd6f00273f3352596f744bc5337d77dd91e8ecfc (diff)
downloadsetup-box-7ed7f742ff587dbffccffd75ac9440109ed0d1b7.tar.bz2
setup-box-7ed7f742ff587dbffccffd75ac9440109ed0d1b7.tar.xz
setup-box: fixed condition
-rwxr-xr-xsetup-box4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-box b/setup-box
index af72755..74bdd5e 100755
--- a/setup-box
+++ b/setup-box
@@ -274,9 +274,9 @@ add_services() {
if [ "$i" == "udev" ]; then
rc-update add $i-postmount
add_to_sysinit "$i $i-postmount"
- else if [ "$i" == "dbus" ]; then
+ elif [ "$i" == "dbus" ]; then
add_to_sysinit "$i"
- else if [ "$i" == "xrdp" ]; then
+ elif [ "$i" == "xrdp" ]; then
rc-update add $i-sesman
fi
done