/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to network-hooks.d/wireless

  • Committer: Teddy Hogeborn
  • Date: 2011-12-30 18:29:33 UTC
  • mto: (237.7.89 trunk)
  • mto: This revision was merged to the branch mainline in revision 290.
  • Revision ID: teddy@recompile.se-20111230182933-x6k28290hv36in32
* network-hooks.d/wireless (start): Bug fix: background "sleep"
                                    command directly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            eval wpa_interface_"$INTERFACE"
77
77
            "$wpa_cli" -p "$CTRLDIR" -i "$INTERFACE" enable_network \
78
78
                "$NETWORK" | sed -e '/^OK$/d'
79
 
            ( sleep "${IFDELAY:-$DELAY}" || : ) &
 
79
            sleep "${IFDELAY:-$DELAY}" &
80
80
            sleep=$!
81
81
            while :; do
82
82
                kill -0 $sleep 2>/dev/null || break