Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
650
Issues
650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
212
Merge Requests
212
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
9f3a25a2
Commit
9f3a25a2
authored
Feb 03, 2012
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/fprobe: fix shell variable expansion bug in init.d script
fixes
#990
parent
8fdf25f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
main/fprobe/APKBUILD
main/fprobe/APKBUILD
+2
-2
main/fprobe/fprobe.initd
main/fprobe/fprobe.initd
+3
-2
No files found.
main/fprobe/APKBUILD
View file @
9f3a25a2
...
...
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname
=
fprobe
pkgver
=
1.1
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"libpcap-based tool that collect network traffic"
url
=
"http://fprobe.sourceforge.net/"
arch
=
"all"
...
...
@@ -48,5 +48,5 @@ package() {
md5sums
=
"65850d0470078269b33eee58cba77ac2 fprobe-1.1.tar.bz2
265c9d9c434df46fc224a1ce7051e27a fprobe-1.1-pidfile-sanity.patch
ba8632d883fb49e83ea16db67c50a69b fprobe-1.1-setgroups.patch
41810a73503624de2c27809e34ed80b4
fprobe.initd
6dba73f47bd466c586a836d6f26fb712
fprobe.initd
ba9c9327456e4db897b60481705df282 fprobe.confd"
main/fprobe/fprobe.initd
100644 → 100755
View file @
9f3a25a2
...
...
@@ -15,8 +15,9 @@ PIDFILE="/var/run/fprobe$PIDFILE_EXTRA.pid"
start() {
ebegin "Starting fprobe"
local OPTS=""
set --
[ "${PROMISC}" == "yes" ] || OPTS="${OPTS} -p"
[ -n "${FILTER}" ] &&
OPTS="${OPTS} -f '${FILTER}'
"
[ -n "${FILTER}" ] &&
set -- -f "${FILTER}
"
for optname in i:IFACE s:TIMER_EXPIRED g:TIME_FRAGMENTED d:TIMER_IDLE \
e:TIMER_ACTIVE n:FLOW_VER a:LOCALIP x:SNMP_IFACE b:MEMBULK \
m:MEMLIMIT q:PENDING B:KERNBUF r:RTPRIO t:DELAY S:SNAPLEN \
...
...
@@ -28,7 +29,7 @@ start() {
OPTS="${OPTS} -l 1:${PIDFILE_ID} ${COLLECTORS}"
start-stop-daemon --start --exec $BIN \
--pidfile ${PIDFILE} \
-- ${OPTS}
--
"$@"
${OPTS}
eend $?
}
...
...
Nathan Angelacos
@nangel
mentioned in issue
#990 (closed)
·
Jul 12, 2019
mentioned in issue
#990 (closed)
mentioned in issue #990
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment