aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-routes
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2005-04-18 09:49:00 +0000
committerKarsten Hopp <karsten@redhat.com>2005-04-18 09:49:00 +0000
commit0aad4699689d23619e00b97dc59c3cacc51b4c03 (patch)
treecd84c4459e2332187beebe48f6f5bb1ef1ff6a56 /sysconfig/network-scripts/ifup-routes
parentf0b5bcf0a39bdfbbbb77a40fdd759c31227ad12e (diff)
downloadinitscripts-0aad4699689d23619e00b97dc59c3cacc51b4c03.tar
initscripts-0aad4699689d23619e00b97dc59c3cacc51b4c03.tar.gz
initscripts-0aad4699689d23619e00b97dc59c3cacc51b4c03.tar.bz2
initscripts-0aad4699689d23619e00b97dc59c3cacc51b4c03.tar.xz
initscripts-0aad4699689d23619e00b97dc59c3cacc51b4c03.zip
message from Thomas Zehetbauer on fedora-devel (in URL field).
In initscripts-8.08-2, "/etc/init.d/network" will hang in "ifup-routes" during boot. The cause is a missing "$file" in the script, making "egrep" hang waiting for data on STDIN.
Diffstat (limited to 'sysconfig/network-scripts/ifup-routes')
-rwxr-xr-xsysconfig/network-scripts/ifup-routes2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes
index 95223357..bf56091d 100755
--- a/sysconfig/network-scripts/ifup-routes
+++ b/sysconfig/network-scripts/ifup-routes
@@ -28,7 +28,7 @@ fi
for file in $FILES; do
if [ -f "$file" ]; then
- if egrep -q '^[[:space:]]*ADDRESS[0-9]+=' ; then
+ if egrep -q '^[[:space:]]*ADDRESS[0-9]+=' $file ; then
# new format
handle_file $file $1
else