2010-08-22 18:50, Florian Pritz:
Signed-off-by: Florian Pritz<bluewind@xxxxxxx>
---
network | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/network b/network
index 977e81e..1f3d3db 100755
--- a/network
+++ b/network
@@ -233,7 +233,7 @@ case "$1" in
# exit
#fi
- if [ "${NETWORK_PERSIST}" = "yes" -o "${NETWORK_PERSIST}" = "YES" ]; then
+ if [ "${NETWORK_PERSIST}" = "yes" -o "${NETWORK_PERSIST}" = "YES" ]&& [[ $RUNLEVEL == [06] ]] ; then
status "Skipping Network Shutdown" true
exit 0
fi
Looks good to me now apart the white space coding style could be fixed:
if [ "${NETWORK_PERSIST}" = "yes" -o "${NETWORK_PERSIST}" = "YES" ] &&
[[ $RUNLEVEL == [06] ]]; then
Maybe you should file a bug report?
--
Kurt