         global ourip
         set ourip $expect_out(1,string)
         send "\r"
+      
+      # removing all containers from xdb/data
+      } elseif { $action == 9 } {
+        send -s "find /var/netscreen/GuiSvr/xdb/data -type f | egrep -v \"__db.001|DB_CONFIG\" | xargs rm\r"
 
       # default - unknown choice
       } else {

 6 - print the command needed to import the db from xdif ($filetime),
 7 - disables encryption between devSvr and the devices,
 8 - set the IP used by this server, if not autodetected,

 input: "
      stty cooked echo

#!/usr/bin/expect -f

# $Id: 20120726$
# $Date: 2012-07-26 10:09:20$
# $Author: Marek Lukaszuk$
#
# ChangeLog:
