~vila/otto/testsuite_autopilot-unity-collect-Xorg

« back to all changes in this revision

Viewing changes to target-override/usr/local/share/otto/setup-hooks/10-autopilot

  • Committer: Jean-Baptiste Lallement
  • Date: 2013-06-25 10:03:45 UTC
  • Revision ID: jean-baptiste.lallement@ubuntu.com-20130625100345-wg9exz17xnxo722b
Changes group of dev/uinput to autopilot

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
if getent group autopilot >/dev/null && getent passwd ubuntu >/dev/null; then
8
8
    echo "I: Adding user $TESTUSER to group $APGROUP"
9
9
    usermod -a -G autopilot ubuntu
 
10
    [ -d "/dev/uinput" ] && chgrp autopilot /dev/uinput
10
11
else
11
12
    echo "E: A problem occurred while trying to add user $TESTUSER to group $APGROUP"
12
13
fi