Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # The syslog tag for all logging we emit. | |
| 6 TAG="$(basename $0)[$$]" | |
| 7 | |
| 8 log() { | |
| 9 logger -t "${TAG}" "$@" | |
| 10 } | |
| 11 | |
| 12 log "Received PLUTO_VERB=$PLUTO_VERB for pid $IPSEC_MANAGER_PID" | |
|
petkov
2011/03/04 18:42:56
use {} around variables? is there a good reason to
kmixter1
2011/03/05 02:48:59
Originally I was going to use SIGUSR1 to notify IP
| |
| 13 | |
| 14 if [ "$PLUTO_VERB" = "up-host" ]; then | |
| 15 touch /tmp/ipsec-up | |
|
petkov
2011/03/04 18:42:56
is this 3-space indent?
kmixter1
2011/03/05 02:48:59
Done.
| |
| 16 fi | |
| OLD | NEW |