"Fossies" - the Fresh Open Source Software Archive

Member "unix/Darwin/dmg/files/pandorafms/inst_utilities/get_remotecfg.scpt" (15 Sep 2021, 529 Bytes) of package /linux/misc/pandorafms_agent_unix-7.0NG.757.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/osascript
    2 
    3 set first_time to 1
    4 set text_display to "Enable remote config for this agent?"
    5 
    6 repeat
    7 	if (first_time = 1) then
    8 		set text_display to "Enable remote config for this agent? (Enterprise only)"
    9 	end if
   10 	set my_remotecfg to display dialog ¬
   11 		text_display with title ¬
   12 		"Remote config" ¬
   13 		buttons {"No", "Yes"} ¬
   14 		default button "Yes"
   15 	if (button returned of my_remotecfg) is "Yes" then
   16 	 	set remote_config to "1"
   17 	else
   18 		set remote_config to "0"
   19 	end if
   20 	exit repeat
   21 end repeat
   22 
   23 return (remote_config)