Changeset 7612


Ignore:
Timestamp:
Jun 29, 2018, 11:57:56 AM (12 months ago)
Author:
hectorgh
Message:

fixed shutdown wait time on server

Location:
lliurex-shutdowner/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/debian/changelog

    r7597 r7612  
     1lliurex-shutdowner (0.94.1) xenial; urgency=high
     2
     3  * Fixing shutdown wait time on server
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Fri, 29 Jun 2018 11:57:20 +0200
     6
    17lliurex-shutdowner (0.94) xenial; urgency=high
    28
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner-common.install/usr/sbin/shutdown-lliurex

    r7588 r7612  
    1212
    1313if is_server==0:
    14         if not os.path.exists(thinclient_cron_file):
    15                 wait_time=2
     14        wait_time=2
    1615
    1716t=time.localtime()
     
    3029                for item in standalone.strip("\n").split("\n"):
    3130                       
    32                         tmp_wait_time=wait_time
    3331                        display=None           
    3432                        x=item.split(" ")
     
    4139                        display=display.lstrip("(").rstrip(")")
    4240                                       
    43                         command="su -c 'DISPLAY=%s /usr/sbin/shutdown-lliurex-dialog %s' %s &"%(display,tmp_wait_time,user)
     41                        command="su -c 'DISPLAY=%s /usr/sbin/shutdown-lliurex-dialog %s' %s &"%(display,wait_time,user)
    4442                        os.system(command)
    4543                       
Note: See TracChangeset for help on using the changeset viewer.