403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/www/mini_httpd/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/www/mini_httpd/files/patch-scripts_mini__httpd.sh
--- scripts/mini_httpd.sh.orig	2016-06-18 20:06:02 UTC
+++ scripts/mini_httpd.sh
@@ -22,6 +22,7 @@
 name='mini_httpd'
 rcvar='mini_httpd_enable'
 start_precmd='mini_httpd_precmd'
+stop_postcmd='mini_httpd_poststop'
 mini_httpd_enable_defval='NO'
 
 load_rc_config "$name"
@@ -35,6 +36,13 @@ mini_httpd_precmd ()
 		mount -t devfs devfs "$mini_httpd_devfs"
 		devfs -m "$mini_httpd_devfs" rule -s 1 applyset
 		devfs -m "$mini_httpd_devfs" rule -s 2 applyset
+	fi
+}
+
+mini_httpd_poststop ()
+{
+	if [ -n "$mini_httpd_devfs" -a "$mini_httpd_devfs" != "/dev" ]; then
+		umount "$mini_httpd_devfs"
 	fi
 }
 

Youez - 2016 - github.com/yon3zu
LinuXploit