View | Details | Raw Unified | Return to bug 256462
Collapse All | Expand All

(-)./files/patch-scripts_mini__httpd.sh (+22 lines)
Line 0 Link Here
1
--- scripts/mini_httpd.sh.orig	2016-06-18 20:06:02 UTC
2
+++ scripts/mini_httpd.sh
3
@@ -22,6 +22,7 @@
4
 name='mini_httpd'
5
 rcvar='mini_httpd_enable'
6
 start_precmd='mini_httpd_precmd'
7
+stop_postcmd='mini_httpd_poststop'
8
 mini_httpd_enable_defval='NO'
9
 
10
 load_rc_config "$name"
11
@@ -38,4 +39,11 @@ mini_httpd_precmd ()
12
 	fi
13
 }
14
 
15
+mini_httpd_poststop ()
16
+{
17
+	if [ -n "$mini_httpd_devfs" ]; then
18
+		umount "$mini_httpd_devfs"
19
+	fi
20
+}
21
+
22
 run_rc_command "$1"

Return to bug 256462