Changeset 44871 for titan/oealliance/var
- Timestamp:
- 05/22/20 13:20:02 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/var/etc/autostart/start.sh
r44824 r44871 183 183 echo 1 > /proc/stb/fp/ledpowercolor 184 184 fi 185 } 186 187 starthostname() 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) 191 MODEL=$(cat /etc/model) 192 hostname "$MODEL ($IP)" 193 echo "$MODEL ($IP)" > /etc/hostname 194 /etc/init.d/samba restart 195 /etc/init.d/vsftpd restart 196 /etc/init.d/dropbear restart 185 197 } 186 198 … … 375 387 workarounds 376 388 startled 389 starthostname 377 390 startgui;; 378 391 last)
Note: See TracChangeset
for help on using the changeset viewer.