r1233 + call 'write' at the end of set command batch
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Oct 2007 16:42:33 +0000 (16:42 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Oct 2007 16:42:33 +0000 (16:42 +0000)
gateways/switchvlans/cisco.connector

index 8a94157512a68b8b62b26f070244e21a4eec00aa..92f1e190612047d011dd450ea47c771f26d502ad 100755 (executable)
@@ -71,7 +71,7 @@ prepare_push_commands()
                printf "int $portname\nswi access vlan $vlanid\nexit\n" >> $CMDS1
                echo "I!Port $portname@$ENDPOINT has been assigned to VLAN $vlanid" >> "$FILE2"
        done < "$FILE1"
-       printf "end\nquit\n" >> $CMDS1
+       printf "end\nwri\nquit\n" >> $CMDS1
 }
 
 do_fetch()