   if { $os == "Linux" } {
     if { $app == "nsm" } {
       # export DB_HOME=\"/var/netscreen/GuiSvr/xdb/\" # <- this causes issues during install
-      send -s "unset TMOUT;ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime;ntpdate -u 172.30.73.133;hwclock --systohc\r"
+      send -s "unset TMOUT;ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime;date -s \"[curtime]\";hwclock --systohc\r"
     }
   } elseif { $os eq "SunOS" } {
     send "ntpdate -u 172.30.73.133\r"

  send "echo \${SHELL}\r"
}

log_user 0

### make sure we are running bash
expect "*#" {

    send "DBXML_DIR=`ls -1 -t /usr/netscreen/GuiSvr/utils|grep dbxml| head -n 1`;\
    LD_LIBRARY_PATH=/usr/netscreen/GuiSvr/utils/\$DBXML_DIR/lib:\$LD_LIBRARY_PATH;\
    PATH=/usr/netscreen/GuiSvr/utils/\$DBXML_DIR/bin/:\$PATH:/usr/netscreen/DevSvr/utils/:/usr/netscreen/GuiSvr/utils/:/usr/netscreen/HaSvr/utils/;\
    NS_PRINTER_LEVEL=debugr;\
    NSMUSER=\"global/super\";\
    NSMPASSWD=\"netscreen\";\
    export LD_LIBRARY_PATH PATH NS_PRINTER_LEVEL NSMUSER NSMPASSWD;\
