git://git.onelab.eu
/
bootcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a4e3e96
)
write out the output of ifconfig to /tmp for backward compatibility.
author
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 22:40:39 +0000
(22:40 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 2 Dec 2004 22:40:39 +0000
(22:40 +0000)
conf_files/pl_netinit
patch
|
blob
|
history
diff --git
a/conf_files/pl_netinit
b/conf_files/pl_netinit
index
bff9e90
..
baa706b
100644
(file)
--- a/
conf_files/pl_netinit
+++ b/
conf_files/pl_netinit
@@
-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"