diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:45:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:45:51 (GMT) |
commit | 36498d2ea2c5fb72792552630e205be1bd4562ee (patch) | |
tree | e2bb15fb7d78faed85b00e58413fe10521749d2e /abs/core/nfs-utils/nfs-common | |
parent | 58c09e7721915b7ee8b92345f242ab0da6176c06 (diff) | |
download | linhes_pkgbuild-36498d2ea2c5fb72792552630e205be1bd4562ee.zip linhes_pkgbuild-36498d2ea2c5fb72792552630e205be1bd4562ee.tar.gz linhes_pkgbuild-36498d2ea2c5fb72792552630e205be1bd4562ee.tar.bz2 |
nfs-utils 1.2.6
Diffstat (limited to 'abs/core/nfs-utils/nfs-common')
-rw-r--r-- | abs/core/nfs-utils/nfs-common | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/abs/core/nfs-utils/nfs-common b/abs/core/nfs-utils/nfs-common index 9902ec4..7b16b4b 100644 --- a/abs/core/nfs-utils/nfs-common +++ b/abs/core/nfs-utils/nfs-common @@ -2,9 +2,6 @@ daemon_name=nfs-common -# daemon dependencies -DAEMON_DEPENDS=('rpcbind') - NEED_STATD= STATD_OPTS= NEED_IDMAPD= @@ -124,8 +121,7 @@ get_pid() { case "$1" in start) - ck_depends ${DAEMON_DEPENDS[@]} - + ck_daemon rpcbind && { echo -n "Start rpcbind first." >&2; stat_die; } rc=0 if [ "$NEED_STATD" = yes ]; then stat_busy "Starting $STATD_DAEMON_NAME daemon" @@ -161,6 +157,8 @@ case "$1" in if [ $rc -gt 0 ]; then stat_fail exit $rc + else + stat_done fi if [ "$NEED_IDMAPD" = yes ]; then @@ -314,4 +312,4 @@ case "$1" in echo "usage: $0 {start|stop|status|restart}" esac exit 0 -
\ No newline at end of file + |