Imported Upstream version 5.32.0

This commit is contained in:
Mario Fetka
2017-11-11 16:45:24 +01:00
commit 61f73f4a0a
3 changed files with 212 additions and 0 deletions

54
i386/usr/sbin/dellmgr Executable file
View File

@@ -0,0 +1,54 @@
#!/bin/sh
# Script to execute the "dellmgr.bin" binary for LINUX ONLY
# This script opens a node at run time. It gets the major
# no of the megadev and then opens a node with the major number.
# If the node is already present, it removes the node first
# and then creates a fresh node.
# Get the major number of the megadev ioctl node
MAJOR=`grep megadev /proc/devices|awk '{print $1}'`
if [ ! x$MAJOR = x ]
then
# major device number found
rm -f /dev/megadev0 # remove if already there, ignore if not.
mknod /dev/megadev0 c $MAJOR 0
fi
# Execute the dellmgr binary
# RedHat 8.0 specific changes since 10-03-02: Timir/Amit as unicode is default
# on RH8.0 release
#------------
if [ `/sbin/consoletype` = vt ]
then
grep unicode_start /etc/profile.d/lang.sh && unicode_stop && setfont
fi
OLD_TERM=$TERM
case $TERM in
"xterm" | "linux")
;;
*) export TERM=linux;;
esac
# Execute dellmgr code
/usr/sbin/dellmgr.bin
# RedHat 8.0 specific changes since 10-03-02: Timir/Amit
# Restore bad things we did in our way
#------------
export TERM=$OLD_TERM
if [ `/sbin/consoletype` = vt ]
then
grep unicode_start /etc/profile.d/lang.sh && unicode_start && setfont
fi
# clear the screen to avoid the unwanted message display which
# appears on the screen otherwise : 10-25-2002 : amitp
clear
clear

BIN
i386/usr/sbin/dellmgr.bin Executable file

Binary file not shown.