projects
/
grml-network.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix manpage handling of xsltproc
[grml-network.git]
/
sbin
/
grml-router
diff --git
a/sbin/grml-router
b/sbin/grml-router
index
c7c0e16
..
d762adc
100755
(executable)
--- a/
sbin/grml-router
+++ b/
sbin/grml-router
@@
-28,13
+28,19
@@
fi
. $CONFIG_FILE
if [ -z "$OUTDEV" ] ; then
. $CONFIG_FILE
if [ -z "$OUTDEV" ] ; then
- eerror "Outgouing device is not set in $CONFIG_FILE"
- exit 1
+ eewarn "Outgoing device is not set in $CONFIG_FILE"
+ eewarn "Setting Outgoing device to auto"
+ OUTDEV=auto
fi
case "$OUTDEV" in
auto|default)
OUTDEV=$(defaultGWDev)
fi
case "$OUTDEV" in
auto|default)
OUTDEV=$(defaultGWDev)
+ if [ -z "$OUTDEV" ] ; then
+ eerror "The outgoing device could not be determined."
+ eerror "Please adjust OUTDEV in $CONFIG_FILE"
+ exit 1
+ fi
;;
esac
;;
esac