tis-wapt-conf-policy 6

  • package : tis-wapt-conf-policy
  • version : 6
  • description : Modify ---> allow_cancel_upgrade=0 , max_gpo_script_wait=180 , pre_shutdown_timeout=180 , hiberboot_enabled=0 --> in wapt-get.ini
  • maintainer : TIS Simon Fonteneau
  • date : 2018-02-27 19:08:57

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():

    print('Modify max_gpo_script_wait')
    inifile_writestring(WAPT.config_filename,'global','max_gpo_script_wait',180)

    print('Modify Preshutdowntimeout')
    inifile_writestring(WAPT.config_filename,'global','pre_shutdown_timeout',180)

    print('Disable Hyberboot')
    inifile_writestring(WAPT.config_filename,'global','hiberboot_enabled',0)

    print('Disable Notify User')
    inifile_writestring(WAPT.config_filename,'global','notify_user',0)

    

Changelog

No changelog
    

manifest.sha256

[["setup.py", "95ea5c15a40a09f474ee7dbd17b26294561b08f975f4f9b18f89c0370c5469ee"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/icon.png", "056507d55c3716bde89da3c7fc26d0c7dda07322253c90628557f9c2fe8f4e8f"], ["WAPT/control", "7f3c9e7dce91d356580dec7924f5e699b81f01c1dbeec802245d28d15abaa60d"], ["WAPT/wapt.psproj", "af0bfb79cfa2e2f1cecd14449c2360511f9c4d7bd9898cdf4789512f062955d4"]]