diff options
author | Vadim A. Misbakh-Soloviov <mva@mva.name> | 2013-04-25 08:08:05 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <mva@mva.name> | 2013-04-25 08:08:05 +0700 |
commit | 71fbd468cd04d06674ebb0c74ea95cf619a34d2a (patch) | |
tree | 474850549fd6c1b950aa6d7096b73757f86814bf /app-emulation | |
parent | [app-emulation/{xen,xen-tools}] sync with portage tree (diff) | |
download | virtualization-71fbd468cd04d06674ebb0c74ea95cf619a34d2a.tar.gz virtualization-71fbd468cd04d06674ebb0c74ea95cf619a34d2a.tar.bz2 virtualization-71fbd468cd04d06674ebb0c74ea95cf619a34d2a.zip |
[app-emulation/xen-tools] some init-files fixes
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xen-tools/files/xend.initd-r2 | 6 | ||||
-rw-r--r-- | app-emulation/xen-tools/files/xendomains.initd-r2 | 4 | ||||
-rwxr-xr-x | app-emulation/xen-tools/files/xenstored.initd | 2 |
3 files changed, 3 insertions, 9 deletions
diff --git a/app-emulation/xen-tools/files/xend.initd-r2 b/app-emulation/xen-tools/files/xend.initd-r2 index b790e7f..e7b6ec0 100644 --- a/app-emulation/xen-tools/files/xend.initd-r2 +++ b/app-emulation/xen-tools/files/xend.initd-r2 @@ -3,8 +3,6 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xend.initd-r2,v 1.2 2011/09/10 17:22:46 alexxy Exp $ -opts="start stop status restart" - depend() { need net xenconsoled xenstored before xendomains sshd @@ -46,7 +44,3 @@ stop() { /usr/sbin/xend stop eend $? } - -status() { - is_privileged_domain && /usr/sbin/xend status -} diff --git a/app-emulation/xen-tools/files/xendomains.initd-r2 b/app-emulation/xen-tools/files/xendomains.initd-r2 index e225b76..b7c72e1 100644 --- a/app-emulation/xen-tools/files/xendomains.initd-r2 +++ b/app-emulation/xen-tools/files/xendomains.initd-r2 @@ -16,7 +16,7 @@ get_domname() { if [[ -z ${name_from_file} ]] ; then basename "${1}" else - echo ${name_from_file} + echo ${name_from_file} fi } @@ -25,7 +25,7 @@ is_running() { } using_screen() { - [[ "${SCREEN}" == "yes" || "${SCREEN}" == "YES" ]] + [[ "${SCREEN}" == "yes" || "${SCREEN}" == "YES" ]] } set_screen_cmd() { diff --git a/app-emulation/xen-tools/files/xenstored.initd b/app-emulation/xen-tools/files/xenstored.initd index fa31efd..108da29 100755 --- a/app-emulation/xen-tools/files/xenstored.initd +++ b/app-emulation/xen-tools/files/xenstored.initd @@ -4,7 +4,7 @@ # $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.3 2013/03/16 16:46:57 idella4 Exp $ depend() { - before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp + before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp } start() { |