Ignore:
Timestamp:
Jul 4, 2017, 11:51:07 AM (2 years ago)
Author:
hectorgh
Message:

wip

Location:
lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner-common.install/usr
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner-common.install/usr/sbin/shutdown-lliurex

    r5426 r5444  
    2222                continue
    2323        display=x[-1].lstrip("(").rstrip(")")
    24         cmd="su -c 'zenity --info --text=\"System will shutdown at %s, please save your files.\" --display %s\' %s &"%(shutdown_date,display,user)
     24        cmd="su -c 'DISPLAY=%s /usr/sbin/shutdown-lliurex-dialog %s' %s &"%(display,wait_time,user)
     25        #cmd="su -c 'zenity --info --text=\"System will shutdown at %s, please save your files.\" --display %s\' %s &"%(shutdown_date,display,user)
    2526        os.system(cmd)
    2627
Note: See TracChangeset for help on using the changeset viewer.