unbounded joy or the musings of a sysadmin.
#!/bin/sh MAC=$(ifconfig | awk '/HWaddr / { print $NF }') newMAC=`echo "${MAC}" | tr [:upper:] [:lower:]` mv "/etc/sysconfig/network/ifcfg-eth-id-${newMAC}" "/etc/sysconfig/network/ifcfg-eth0"
Post a Comment
No comments:
Post a Comment