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

(-)file_not_specified_in_diff (-2 / +14 lines)
Line  Link Here
0
-- /etc/init.d/iptables
0
++ /etc/init.d/iptables
Lines 179-184 Link Here
179
	return $RETVAL
179
	return $RETVAL
180
}
180
}
181
181
182
unload_modules()
183
{
184
	local t
185
186
	for t in $tables; do
187
		local m="${IPV}table_${t}"
188
		action "Unloading module $m:" modprobe -r "$m"
189
	done
190
	return 0
191
}
192
182
fwstatus()
193
fwstatus()
183
{
194
{
184
	local i
195
	local i
Lines 233-239 Link Here
233
{
244
{
234
	if read_tables; then
245
	if read_tables; then
235
		set_policy ACCEPT &&
246
		set_policy ACCEPT &&
236
		flush_delete
247
		flush_delete &&
248
		unload_modules
237
		RETVAL=$?
249
		RETVAL=$?
238
	else
250
	else
239
		printf %s $"$IPTABLES firewall is not started"
251
		printf %s $"$IPTABLES firewall is not started"

Return to bug 12869