HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/cups/current/bin/driverless-fax
#!/bin/sh
#
# Note: This is only a wrapper for driverless-fax, the real work is done by
# driverless
#
# (C) 2020 Nidhi Jain
# (C) 2012-2020 Till Kamppeter <till.kamppeter@gmail.com>
#
# Licensed under Apache License v2.0.  See the file "LICENSE" for more
# information.
#

if [ $# -eq "0" ]; then
    DEVICE_TYPE=FAX //lib/cups/backend/driverless
    elif [ $# -eq "1" ]; then
        DEVICE_TYPE=FAX //lib/cups/driver/driverless "$1"
    elif [ $# -eq "2" ]; then
        DEVICE_TYPE=FAX //lib/cups/driver/driverless "$1" "$2"
    else
        echo "ERROR: Too many arguments"
fi