|
Lines 314-320
Link Here
|
| 314 |
echo m68k-sun-sunos${UNAME_RELEASE} |
314 |
echo m68k-sun-sunos${UNAME_RELEASE} |
| 315 |
exit 0 ;; |
315 |
exit 0 ;; |
| 316 |
sun*:*:4.2BSD:*) |
316 |
sun*:*:4.2BSD:*) |
| 317 |
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
317 |
UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
| 318 |
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 |
318 |
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 |
| 319 |
case "`/bin/arch`" in |
319 |
case "`/bin/arch`" in |
| 320 |
sun3) |
320 |
sun3) |
|
Lines 496-502
Link Here
|
| 496 |
fi |
496 |
fi |
| 497 |
exit 0 ;; |
497 |
exit 0 ;; |
| 498 |
*:AIX:*:[45]) |
498 |
*:AIX:*:[45]) |
| 499 |
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` |
499 |
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'` |
| 500 |
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
500 |
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
| 501 |
IBM_ARCH=rs6000 |
501 |
IBM_ARCH=rs6000 |
| 502 |
else |
502 |
else |