#!/bin/sh #---------------------------------------------------------------------------- # jobcontrol-local # # Creation: 2011-10-30 hb # Last Update: $Id$ # # Copyright (c) 2011-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- # # This script is a wrapper to sed the '-O usecolor:yes' command on serverside # based on modem name like 'eisfax-color' , '-color' is required # . etc/setup.cache . bin/common-functions SetupPrivateTmp QFILE=sendq/q${1} parseQfile case "${modem}" in *-color) sed -i 's/^usecolor:.*$/usecolor:1/' ${QFILE} ;; esac exit 0