diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-01 02:32:01 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-01 02:32:01 +0100 |
| commit | fae9f499b2ab3becb8a672d982c50f318114dee9 (patch) | |
| tree | 0229761c21de96d2bda7a9be864052532382a028 /examples | |
| parent | 8eda4a9005723be93d8f5c0adb33e457e2f54dfe (diff) | |
| download | busybox-w32-fae9f499b2ab3becb8a672d982c50f318114dee9.tar.gz busybox-w32-fae9f499b2ab3becb8a672d982c50f318114dee9.tar.bz2 busybox-w32-fae9f499b2ab3becb8a672d982c50f318114dee9.zip | |
ntpd: make it work w/o -g too :(
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/var_service/fw/run | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/var_service/fw/run b/examples/var_service/fw/run index b8c028a99..396b678ab 100755 --- a/examples/var_service/fw/run +++ b/examples/var_service/fw/run | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | # (using bashisms: "function", arrays) | 2 | # (using bashism: arrays) |
| 3 | |||
| 4 | service="${PWD##*/}" | ||
| 5 | rundir="/var/run/service/$service" | ||
| 3 | 6 | ||
| 4 | user=root | 7 | user=root |
| 5 | extif=if | 8 | extif=if |
| @@ -10,9 +13,6 @@ sv o . | |||
| 10 | # Debug | 13 | # Debug |
| 11 | #date '+%Y-%m-%d %H:%M:%S' >>"$0.log" | 14 | #date '+%Y-%m-%d %H:%M:%S' >>"$0.log" |
| 12 | 15 | ||
| 13 | service=`basename "$PWD"` | ||
| 14 | rundir="/var/run/service/$service" | ||
| 15 | |||
| 16 | ### filter This is the default table (if no -t option is passed). It contains | 16 | ### filter This is the default table (if no -t option is passed). It contains |
| 17 | ### the built-in chains INPUT (for packets coming into the box itself), | 17 | ### the built-in chains INPUT (for packets coming into the box itself), |
| 18 | ### FORWARD (for packets being routed through the box), and OUTPUT (for | 18 | ### FORWARD (for packets being routed through the box), and OUTPUT (for |
