Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 889265 Details for
Bug 1090935
Show local IP addresses at login prompt
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
script v1
show-global-ips.sh (text/plain), 506 bytes, created by
Kai Engert (:kaie) (inactive account)
on 2014-04-24 12:26:53 UTC
(
hide
)
Description:
script v1
Filename:
MIME Type:
Creator:
Kai Engert (:kaie) (inactive account)
Created:
2014-04-24 12:26:53 UTC
Size:
506 bytes
patch
obsolete
>#!/bin/bash > >IPLIST="" > >IP=`which ip` >if [ -n "$IP" ]; then > TEMP6=`mktemp` > ip -6 addr show scope global up |grep -w inet6 | sed 's/^.*inet6 \(.*\)\/.*$/\1/' > $TEMP6 > TEMP6DEPR=`mktemp` > ip -6 addr show scope global up deprecated |grep -w inet6 | sed 's/^.*inet6 \(.*\)\/.*$/\1/' > $TEMP6DEPR > IP4=`ip -4 addr show scope global up |grep -w inet | sed 's/^.*inet \(.*\)\/.*$/\1/'` > IP6=`grep -f $TEMP6DEPR -v $TEMP6 | xargs echo` > IPLIST="$IP4 $IP6" > rm $TEMP6 > rm $TEMP6DEPR >fi > >echo $IPLIST >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1090935
: 889265