This file is indexed.

/usr/bin/olpc-volume is in olpc-kbdshim 27-1build1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

# adjust OLPC XO speaker volume

usage()
{
        echo "usage: ${0##*/} {up|down|max|min|<0-100>}"
        exit 1;
}

case $1 in
    max)  volchg=100%   ;;
    min)  volchg=0      ;;
    up)   volchg="10%+" ;;
    down) volchg="10%-" ;;

    100|[0-9]|[0-9][0-9]) volchg=$1% ;;

    *)
            usage
            ;;
esac

amixer -q set Master "$volchg" unmute