summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/opengnsys.init
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-07-25 10:52:19 +0000
committerramon <ramongomez@us.es>2011-07-25 10:52:19 +0000
commitd4e90c10904c00d68f7c5c64194274e218a98052 (patch)
treea3f4984ffc633076eb3e39cea66eb9b6ff66b7a5 /admin/Sources/Services/opengnsys.init
parent1665061fc47504577ab3dab18407c9b83390f0b5 (diff)
VersiĆ³n 1.0.2: corregir erratas en actualizador y en arranque de servicios.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2208 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/opengnsys.init')
-rwxr-xr-xadmin/Sources/Services/opengnsys.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init
index 292329d0..838b1db2 100755
--- a/admin/Sources/Services/opengnsys.init
+++ b/admin/Sources/Services/opengnsys.init
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
### BEGIN INIT INFO
# Provides: opengnsys
@@ -79,7 +79,7 @@ config() {
case "$OSDISTRIB" in
Ubuntu)
INITFUNCTIONS=/lib/lsb/init-functions
- DAEMONSTART="start-daemon"
+ DAEMONSTART="start_daemon"
DAEMONSTOP="killproc"
ACTIONMSG="log_daemon_msg"
SUCCESSMSG="log_end_msg 0"
@@ -96,7 +96,7 @@ config() {
*) echo "DistribuciĆ³n Linux desconcocida"
exit ;;
esac
- if [ -x $INITFUNCTIONS ]; then
+ if [ -r $INITFUNCTIONS ]; then
source $INITFUNCTIONS
fi
}