Changeset 44878
- Timestamp:
- 05/22/20 23:20:14 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/var/etc/autostart/start.sh
r44874 r44878 187 187 starthostname() 188 188 { 189 IP=$(ifconfig | grep inet | grep Bcast | awk '{print $2}' | cut -d":" -f2 | tr '.' '-')190 # IP=$(ifconfig | grep inet | grep Bcast | awk '{print $2}' | cut -d":" -f2)189 # IP=$(ifconfig | grep inet | grep Bcast | awk '{print $2}' | cut -d":" -f2 | tr '.' '-') 190 IP=$(ifconfig | grep inet | grep Bcast | awk '{print $2}' | cut -d":" -f2 | cut -d"." -f4) 191 191 MODEL=$(cat /etc/model) 192 192 # hostname "$MODEL ($IP)"
Note: See TracChangeset
for help on using the changeset viewer.