| Index: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
|
| ===================================================================
|
| --- remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (revision 0)
|
| +++ remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh (working copy)
|
| @@ -0,0 +1,25 @@
|
| +#!/bin/sh
|
| +
|
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +NAME=org.chromium.chromoting
|
| +CONFIG_DIR=/Library/PrivilegedHelperTools
|
| +HOST_EXE=$CONFIG_DIR/$NAME.me2me_host
|
| +ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled
|
| +
|
| +if [ "$1" = "--disable" ]; then
|
| + # This script is executed from base::mac::ExecuteWithPrivilegesAndWait(),
|
| + # which requires the child process to write its PID to stdout before
|
| + # anythine else. See base/mac/authorization_util.h for details.
|
| + echo $$
|
| + rm -f "$ENABLED_FILE"
|
| +elif [ "$1" = "--enable" ]; then
|
| + echo $$
|
| + touch "$ENABLED_FILE"
|
| +else
|
| + exec "$HOST_EXE" \
|
| + --auth-config="$CONFIG_DIR/$NAME.json" \
|
| + --host-config="$CONFIG_DIR/$NAME.json"
|
| +fi
|
|
|
| Property changes on: remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh
|
| ___________________________________________________________________
|
| Added: svn:executable
|
| ## -0,0 +1 ##
|
| +*
|
| \ No newline at end of property
|
| Added: svn:eol-style
|
| ## -0,0 +1 ##
|
| +LF
|
| \ No newline at end of property
|
|
|