- echo "#" > network-information.txt
- echo "# scutil -d -v --nwi" >> network-information.txt
- echo "#" >> network-information.txt
- /usr/sbin/scutil -d -v --nwi >> network-information.txt 2>&1
+ echo "`date +"%Y-%m-%d %H:%M:%S"`: run_scutil" >> get-network-info.txt
+ echo "#" > network-information.txt
+ echo "# scutil -d -v --nwi" >> network-information.txt
+ echo "#" >> network-information.txt
+ /usr/sbin/scutil -d -v --nwi >> network-information.txt 2>&1