- Timestamp:
- 05/22/20 19:46:50 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/var/etc/autostart/start.sh
r44873 r44874 188 188 { 189 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)190 # IP=$(ifconfig | grep inet | grep Bcast | awk '{print $2}' | cut -d":" -f2) 191 191 MODEL=$(cat /etc/model) 192 192 # hostname "$MODEL ($IP)" … … 194 194 sysctl "kernel.hostname=$MODEL-$IP.local.host" 195 195 hostname -F /etc/hostname 196 196 mv -f /etc/samba/private/smbpasswd /etc/samba/private/smbpasswd.org 197 197 /etc/init.d/samba restart 198 198 /etc/init.d/vsftpd restart
Note: See TracChangeset
for help on using the changeset viewer.