MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/libexec/webmin/cfengine/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/libexec/webmin/cfengine/stop.cgi
#!/usr/bin/perl
# stop.cgi
# Stop the configuration engine daemon

require './cfengine-lib.pl';
&error_setup($text{'stop_err'});
if ($config{'stop_cmd'}) {
	$out = &backquote_logged("$config{'stop_cmd'} 2>&1 </dev/null");
	&error("<pre>$out</pre>") if ($out =~ /error|failed/ || $?);
	}
else {
	@pids = &find_byname("cfd");
	@pids || &error($text{'stop_epids'});
	&kill_logged('TERM', @pids) || &error(&text('stop_ekill', $!));
	}
&webmin_log("stop");
&redirect("edit_cfd.cgi");


Anon7 - 2021