summaryrefslogtreecommitdiff
path: root/test/retro.sh
blob: 42a60a98b06bcf9743a388fa1becd59854585bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh 
#  retro.sh
#
#  retrofit ipmiutil subcommand naming for pre-2.6.0 scripts.
#
#  old            new        full command
#alarms         ialarms      (ipmiutil alarms)
#bmcconfig      iconfig      (ipmiutil config)
#bmchealth      ihealth      (ipmiutil health)
#fruconfig      ifru         (ipmiutil fru)
#getevent       igetevent    (ipmiutil getevent)
#hwreset        ireset       (ipmiutil reset)
#icmd           icmd         (ipmiutil cmd)
#idiscover      idiscover    (ipmiutil discover)
#ievents        ievents      (ipmiutil events)
#isolconsole    isol         (ipmiutil sol)
#pefconfig      ilan         (ipmiutil lan)
#sensor         isensor      (ipmiutil sensor)
#showsel        isel         (ipmiutil sel)
#tmconfig       iserial      (ipmiutil serial)
#wdt            iwdt         (ipmiutil wdt)

mydir=`pwd`

cd /usr/sbin
ln ialarms   alarms
ln iconfig   bmcconfig
ln ihealth   bmchealth
ln ifru      fruconfig
ln igetevent getevent
ln ireset    hwreset
ln isol      isolconsole
ln ilan      pefconfig
ln isensor   sensor
ln iserial   tmconfig
ln iwdt      wdt
cd $mydir