Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
| 2 | |
| 3 CONFIG_DIR=/Library/PrivilegedHelperTools | |
| 4 HOST_EXE=$CONFIG_DIR/org.chromium.chromoting.me2me_host | |
|
Lambros
2012/04/03 00:49:17
Maybe add NAME=org.chromium.chromoting and use it
garykac
2012/04/09 19:04:16
Done.
| |
| 5 ENABLED_FILE=$CONFIG_DIR/org.chromium.chromoting.me2me_enabled | |
| 6 | |
| 7 if [ "$1" = "--disable" ]; then | |
| 8 echo $$ | |
|
Lambros
2012/04/03 00:49:17
Please could you add a comment before the first "e
garykac
2012/04/09 19:04:16
Done.
| |
| 9 rm -f "$ENABLED_FILE" | |
| 10 elif [ "$1" = "--enable" ]; then | |
| 11 echo $$ | |
| 12 touch "$ENABLED_FILE" | |
| 13 else | |
| 14 exec "$HOST_EXE" \ | |
| 15 --auth-config="$CONFIG_DIR/org.chromium.chromoting.json" \ | |
| 16 --host-config="$CONFIG_DIR/org.chromium.chromoting.json" | |
| 17 fi | |
| OLD | NEW |