Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102048975
D30083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
559 B
Referenced Files
None
Subscribers
None
D30083.diff
View Options
diff --git a/libexec/rc/rc.d/ipfw b/libexec/rc/rc.d/ipfw
--- a/libexec/rc/rc.d/ipfw
+++ b/libexec/rc/rc.d/ipfw
@@ -74,8 +74,14 @@
${SYSCTL} net.inet.ip.fw.verbose=1 >/dev/null
fi
if checkyesno firewall_logif; then
- ifconfig ipfw0 create
- echo 'Firewall logging pseudo-interface (ipfw0) created.'
+ if ! ifconfig ipfw0 >/dev/null 2>&1; then
+ ifconfig ipfw0 create
+ echo 'Firewall logging pseudo-interface (ipfw0)' \
+ 'created.'
+ else
+ echo 'Firewall logging pseudo-interface (ipfw0)' \
+ 'already created.'
+ fi
fi
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 11:35 PM (22 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14523198
Default Alt Text
D30083.diff (559 B)
Attached To
Mode
D30083: service/ipfw: Silence warning on restart
Attached
Detach File
Event Timeline
Log In to Comment