This file is indexed.

/usr/lib/x86_64-linux-gnu/roaraudio/compbins/rsd is in libroar-compat2 1.0~beta11-1.

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
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
#!/bin/sh

_args='';

while [ -n "$1" ]
do
 k="$1";
 shift;

 case "$k" in
  '--')
   break;
  ;;
  '-h'|'--help')
   cat <<__AST2ROAR__END_OF_HELP_TEXT__
roard
==========================================================================
Usage: rsd [ -d/--device | -b/--backend | -p/--port | -D/--daemon | -v/--verbose | --debug | -h/--help | --kill ]

-d/--device: Specifies an ALSA or OSS device to use.
  Examples:
   -d hw:1,0
   -d /dev/audio

-b/--backend: Specifies which audio backend to use.

-D/--daemon: Runs as daemon.
-p/--port: Defines which port to listen on.
        Example: -p 18453.
-v/--verbose: Enables verbosity
-h/--help: Prints this help
--debug: Enable more verbosity
--kill: Cleanly shuts downs the running rsd process.
__AST2ROAR__END_OF_HELP_TEXT__
   exit 0;
  ;;
  '-p')
   _args="$_args -p $1";
   shift;
  ;;
  '--port')
   _args="$_args --port $1";
   shift;
  ;;
  '--daemon')
   _args="$_args --daemon";
  ;;
  '--verbose')
   _args="$_args --verbose";
  ;;
  '-h')
   _args="$_args -h";
  ;;
  '--help')
   _args="$_args --help";
  ;;
  '-d')
   _args="$_args -O $1";
   shift;
  ;;
  '--device')
   _args="$_args -O $1";
   shift;
  ;;
  '-b')
   _args="$_args -o $1";
   shift;
  ;;
  '--backend')
   _args="$_args -o $1";
   shift;
  ;;
  '-D')
   _args="$_args --daemon";
  ;;
  '-v')
   _args="$_args --verbose";
  ;;
  '--debug')
   _args="$_args --verbose";
  ;;
  '--kill')
   _args="$_args --stop";
  ;;
  '-'*)
   echo "Unknown option" >&2;
   exit 1;
  ;;
  *)
   echo "Unknown option" >&2;
   exit 1;
  ;;
 esac;
done

if [ "$*" != "" ]
then
 echo "Unknown option" >&2;
 exit 1;
fi

exec roard $_args


#ll