summaryrefslogtreecommitdiff
path: root/scripts/install-solaris.sh
diff options
context:
space:
mode:
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
+