#!/usr/bin/wish -f

#############################################################################
#          Shutdown
#
# THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM
# PUBLIC LICENSE ("AGREEMENT"). See the file "IPL" in this directory 
# of this archive for more details.
#
#############################################################################

#wm title . "NetworkStation Shutdown"
#wm iconname . "Shutdown"
#wm resizable . 0 0
#wm overrideredirect . 1

wm iconify .

# if {[winfo exists .]} {
#        wm deiconify .
#        return
# }

after idle {
   .temp.msg configure  -wraplength 14i
}

after 100 {
   grab -global .temp
}

# button .close -text "Cancel" -command closeAboutBox 
# label .label1
# label .label2
# label .label3

# .label1 config -text "IBM Network Station Shutdown Utility"
# .label2 config -text ""
# .label3 config -text "You may shutdown you IBM NetworkStation."

# pack .label1 -fill x -pady 5
# pack .label2 -fill x
# pack .label3 -fill x -padx 20
# pack .close -pady 5

exec "sync"

tk_dialog .temp "Shutdown" "\n\nYou may shutdown your\n\n   IBM NetworkStation\n\n" info 0 Cancel 

destroy .

