diff options
Diffstat (limited to 'admin/Sources/Services/opengnsys.init')
-rwxr-xr-x | admin/Sources/Services/opengnsys.init | 6 |
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 } |