write out the output of ifconfig to /tmp for backward compatibility.
Aaron Klingaman [Thu, 2 Dec 2004 22:40:39 +0000 (22:40 +0000)]
conf_files/pl_netinit

index bff9e90..baa706b 100644 (file)
@@ -29,6 +29,10 @@ FLOPPY_FS_TYPES="msdos,ext2"
 FLOPPY_MOUNT_POINT=/mnt/floppy
 /bin/mkdir -p $FLOPPY_MOUNT_POINT
 
+# for some backwards compatibility, save the ifconfig <device>
+# output to this file
+IFCONFIG_OUTPUT=/tmp/ifconfig
+
 
 net_init_failed()
 {
@@ -219,5 +223,8 @@ else
     fi
 fi
 
+# for backwards compatibility
+/sbin/ifconfig $ETH_DEVICE > $IFCONFIG_OUTPUT
+
 echo "pl_netinit: network online"