Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
1d7a6ebc
Commit
1d7a6ebc
authored
14 years ago
by
Nicolas Thill
Browse files
Options
Downloads
Patches
Plain Diff
dnsmasq: initscript: fix bool options handling, bump release number
SVN-Revision: 22251
parent
62825207
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/dnsmasq/Makefile
+1
-1
1 addition, 1 deletion
package/dnsmasq/Makefile
package/dnsmasq/files/dnsmasq.init
+3
-3
3 additions, 3 deletions
package/dnsmasq/files/dnsmasq.init
with
4 additions
and
4 deletions
package/dnsmasq/Makefile
+
1
−
1
View file @
1d7a6ebc
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME
:=
dnsmasq
PKG_NAME
:=
dnsmasq
PKG_VERSION
:=
2.55
PKG_VERSION
:=
2.55
PKG_RELEASE
:=
2
PKG_RELEASE
:=
3
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
http://thekelleys.org.uk/dnsmasq
PKG_SOURCE_URL
:=
http://thekelleys.org.uk/dnsmasq
...
...
This diff is collapsed.
Click to expand it.
package/dnsmasq/files/dnsmasq.init
+
3
−
3
View file @
1d7a6ebc
...
@@ -23,8 +23,8 @@ append_bool() {
...
@@ -23,8 +23,8 @@ append_bool() {
local
option
=
"
$2
"
local
option
=
"
$2
"
local
value
=
"
$3
"
local
value
=
"
$3
"
local
_loctmp
local
_loctmp
config_get_bool _loctmp
"
$section
"
"
$option
"
config_get_bool _loctmp
"
$section
"
"
$option
"
0
[
"
$_loctmp
"
-gt
0
]
&&
append args
"
$value
"
[
$_loctmp
-gt
0
]
&&
append args
"
$value
"
}
}
append_parm
()
{
append_parm
()
{
...
@@ -274,7 +274,7 @@ dhcp_add() {
...
@@ -274,7 +274,7 @@ dhcp_add() {
#check for an already active dhcp server on the interface, unless 'force' is set
#check for an already active dhcp server on the interface, unless 'force' is set
config_get_bool force
"
$cfg
"
force 0
config_get_bool force
"
$cfg
"
force 0
[
"
$force
"
-gt
0
]
||
{
[
$force
-gt
0
]
||
{
udhcpc
-n
-q
-s
/bin/true
-t
1
-i
$ifname
>
&-
&&
return
0
udhcpc
-n
-q
-s
/bin/true
-t
1
-i
$ifname
>
&-
&&
return
0
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment