Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-08-11 23:02:18 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-08-11 23:02:18 (GMT)
commit02b35dfed14db48fe89f13bda10ea704058c0128 (patch)
treea92e812a9cffb121dc17ea81266ea8d1bfdf74f4
parent293d8e0300ee737c5007cbda472a17fef292913f (diff)
correct smolt NM dispatcher script
-rw-r--r--soas-xo.ks4
1 files changed, 3 insertions, 1 deletions
diff --git a/soas-xo.ks b/soas-xo.ks
index 0f86a9e..051460c 100644
--- a/soas-xo.ks
+++ b/soas-xo.ks
@@ -271,9 +271,11 @@ if [ ! -e $smolt_file ] ; then
cat > $smolt_file <<EOF
#!/bin/bash
+export PATH=/bin:/usr/bin
+
if [ "\$2" = "up" ] ; then
sleep 15
- ( nice /usr/bin/smoltSendProfile -a --submitOnly -b -c || /usr/sbin/smoltSentProfile -a --submitOnly -b ) >> /tmp/smolt.log 2>&1
+ ( nice /usr/bin/smoltSendProfile -a --submitOnly -b -c || /usr/sbin/smoltSendProfile -a --submitOnly -b ) >> /tmp/smolt.log 2>&1
fi
EOF