summaryrefslogtreecommitdiff
path: root/scripts/install-solaris.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
commita7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (patch)
tree41c4deec1fdfbafd7821b4ca7a9772ac0abd92f5 /scripts/install-solaris.sh
Imported Upstream version 2.9.3upstream/2.9.3
Diffstat (limited to 'scripts/install-solaris.sh')
-rwxr-xr-xscripts/install-solaris.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/install-solaris.sh b/scripts/install-solaris.sh
new file mode 100755
index 0000000..b452602
--- /dev/null
+++ b/scripts/install-solaris.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Solaris or BSD install.sh
+#
+datadir=/usr/share/ipmiutil
+vardir=/var/lib/ipmiutil
+sbindir=/usr/bin
+mandir=/usr/share/man/man8
+manfiles="ialarms.8 iconfig.8 ihealth.8 ievents.8 ifru.8 igetevent.8 ireset.8 icmd.8 idiscover.8 ipmiutil.8 isol.8 ilan.8 isensor.8 isel.8 iserial.8 iwdt.8"
+shfiles="checksel ipmi_if.sh ipmi_port.sh ipmiutil_wdt"
+mibfiles="bmclanpet.mib"
+
+mkdir -p $datadir
+mkdir -p $vardir
+mkdir -p $mandir
+cp ipmiutil ievents idiscover ipmi_port $sbindir
+cp $manfiles $mandir
+cp UserGuide $mibfiles $shfiles $datadir
+$sbindir/ipmiutil sensor -q >$vardir/sensor_out.txt
+# Admin should set up checksel cron script also
+