diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-10-25 18:36:11 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-10-25 18:36:11 +0000 |
commit | f8a95ce9d0890fa027b5b8ffc38ce8ec044ce4f0 (patch) | |
tree | c78f3c1d8fc588466595556be8fbb5cf8e66621e /ebtables.sysv | |
parent | 17b3f09807227d11c7bd2c11f50650f0a94ccbeb (diff) | |
download | ebtables-f8a95ce9d0890fa027b5b8ffc38ce8ec044ce4f0.tar.gz ebtables-f8a95ce9d0890fa027b5b8ffc38ce8ec044ce4f0.tar.bz2 ebtables-f8a95ce9d0890fa027b5b8ffc38ce8ec044ce4f0.zip |
bugfix
Diffstat (limited to 'ebtables.sysv')
-rw-r--r-- | ebtables.sysv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ebtables.sysv b/ebtables.sysv index b7b58f5..5ba102f 100644 --- a/ebtables.sysv +++ b/ebtables.sysv @@ -40,7 +40,7 @@ config=__SYSCONFIG__/$prog-config start() { echo -n $"Starting $desc ($prog): " if [ "$EBTABLES_BINARY_FORMAT" = "yes" ]; then - for table in $(ls __SYSCONFIG__/ebtables.* | sed s/*ebtables.//); do + for table in $(ls __SYSCONFIG__/ebtables.* | sed s/.*ebtables.//); do __EXEC_PATH__/ebtables -t $table --atomic-file __SYSCONFIG__/ebtables.$table --atomic-commit || RETVAL=1 done else @@ -64,7 +64,7 @@ stop() { if [ "$EBTABLES_MODULES_UNLOAD" = "yes" ]; then for mod in $(grep -E '^(ebt|ebtable)_' /proc/modules | cut -f1 -d' ') ebtables; do - rmmod $mod || RETVAL=1 + rmmod $mod 2> /dev/null done fi |