Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153448 Details for
Bug 237778
Wrong init script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch correcting init script
arptables_jf-0.0.8-init.patch (text/plain), 1.19 KB, created by
Maros Barabas
on 2007-04-25 19:49:58 UTC
(
hide
)
Description:
Patch correcting init script
Filename:
MIME Type:
Creator:
Maros Barabas
Created:
2007-04-25 19:49:58 UTC
Size:
1.19 KB
patch
obsolete
>--- arptables_jf-0.0.8/arptables.init.old 2003-06-27 18:10:15.000000000 +0200 >+++ arptables_jf-0.0.8/arptables.init 2007-04-25 21:37:22.000000000 +0200 >@@ -21,17 +21,19 @@ > ARPTABLES_CONFIG=/etc/sysconfig/arptables > > if [ ! -x /sbin/arptables ]; then >- exit 0 >+ exit 4 > fi > > KERNELMAJ=`uname -r | sed -e 's,\..*,,'` > KERNELMIN=`uname -r | sed -e 's,[^\.]*\.,,' -e 's,\..*,,'` > > if [ "$KERNELMAJ" -lt 2 ] ; then >- exit 0 >+ echo "Not supported for kernel $KERNELMAJ.$KERNELMIN" >+ exit 1 > fi > if [ "$KERNELMAJ" -eq 2 -a "$KERNELMIN" -lt 3 ] ; then >- exit 0 >+ echo "Not supported for kernel $KERNELMAJ.$KERNELMIN" >+ exit 1 > fi > > arp_table() { >@@ -42,7 +44,9 @@ > > start() { > # don't do squat if we don't have the config file >+ echo -n $"Starting arptables_jf" > if [ -f $ARPTABLES_CONFIG ]; then >+ success > # If we don't clear these first, we might be adding to > # pre-existing rules. > chains=`cat /proc/net/arp_tables_names 2>/dev/null` >@@ -77,6 +81,10 @@ > failure > echo > touch /var/lock/subsys/arptables >+ else >+ failure >+ echo >+ echo $"Configfile /etc/sysconfig/arptables missing" > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237778
: 153448