diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-10-07 19:48:57 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-10-07 19:48:57 +0000 |
commit | d03fd5a9354492e840db5083481c0e0ffe6710bd (patch) | |
tree | 09b9416ebff13cdac115e8310b54ddbcf0f5e5da /sys-cluster/gnbd/files/gnbd-srv.rc | |
parent | Version bump. (diff) | |
download | historical-d03fd5a9354492e840db5083481c0e0ffe6710bd.tar.gz historical-d03fd5a9354492e840db5083481c0e0ffe6710bd.tar.bz2 historical-d03fd5a9354492e840db5083481c0e0ffe6710bd.zip |
added conf file to set import/export options. fixed gnbdtab processing.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-cluster/gnbd/files/gnbd-srv.rc')
-rwxr-xr-x | sys-cluster/gnbd/files/gnbd-srv.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/gnbd/files/gnbd-srv.rc b/sys-cluster/gnbd/files/gnbd-srv.rc index f5dbfff356b9..4000e8fd11c7 100755 --- a/sys-cluster/gnbd/files/gnbd-srv.rc +++ b/sys-cluster/gnbd/files/gnbd-srv.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-srv.rc,v 1.3 2005/03/25 02:17:29 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd/files/gnbd-srv.rc,v 1.4 2005/10/07 19:48:57 xmerlin Exp $ depend() { use dns logger @@ -32,7 +32,7 @@ start() { if [ -n "$GNBD" ] ; then ebegin "Exporting all GNBDs devices" einfo "$(awk '/^export/ { print "--> device:", $4, "as", $3 }' /etc/gnbdtab )" - cat /etc/gnbdtab | awk '/^export/ { print "-d", $4, "-e", $3 }' | xargs gnbd_export > /dev/null + cat /etc/gnbdtab | awk '/^export/ { print "-d", $4, "-e", $3 }' | xargs -l gnbd_export ${GNBD_SRV_OPTS} > /dev/null eend $? "Failed to export gnbd devices" fi } |