Add a "return 0" to avoid incorrect error returns because we ran out of

lines to read from "/etc/route.conf".
This commit is contained in:
tron 2009-10-07 07:51:28 +00:00
parent e82f21eb7a
commit 9435d86beb
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: staticroute,v 1.3 2008/01/31 15:21:32 reed Exp $
# $NetBSD: staticroute,v 1.4 2009/10/07 07:51:28 tron Exp $
#
# PROVIDE: staticroute
@ -35,6 +35,8 @@ staticroute_doit() {
esac
done < /etc/route.conf
fi
return 0
}
load_rc_config $name