/usr/sbin/synce-serial-abort is in synce-serial 0.11-5.3.
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 | #!/bin/sh -e
THIS=`basename $0`
# include common stuff
. /usr/share/synce/synce-serial-common
exit_if_not_root
if [ $# -gt 0 ]; then
synce_cmdline_setup "$@"
elif [ -e ${CONFIG_FILE} ]; then
. $CONFIG_FILE
else
echo "
${THIS} was unable to find the file ${CONFIG_FILE}:
Please run the synce-serial-config tool to create this file before running this
script again.
" >&2
exit 1
fi
get_pid
exec $BINDIR/synce-serial-abort-device
|