From 99140c5bc34a95edb7884f5b218c0f2f029c5656 Mon Sep 17 00:00:00 2001 From: meijia Date: Mon, 28 Apr 2003 14:22:08 +0000 Subject: [PATCH] [liblustre]: - add liblustre startup wrapper script --- lustre/liblustre/lustrerun | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 lustre/liblustre/lustrerun diff --git a/lustre/liblustre/lustrerun b/lustre/liblustre/lustrerun new file mode 100755 index 0000000..f44fb925 --- /dev/null +++ b/lustre/liblustre/lustrerun @@ -0,0 +1,12 @@ +#!/bin/sh + +#PORTALS_MYNID=${PORTALS_MYNID:-`hostname -i`} +PORTALS_MYNID=${PORTALS_MYNID:-"172.16.1.1"} +LUSTRE_MOUNT_POINT=${LUSTRE_MOUNT_POINT:-"/mnt/lustre"} +LD_PRELOAD=${LD_PRELOAD:-"/usr/lib/liblustre.so"} + +export PORTALS_MYNID +export LUSTRE_MOUNT_POINT +export LD_PRELOAD + +exec $@ -- 1.8.3.1