Bug 25581 - Obsolete variable check in initscript
Summary: Obsolete variable check in initscript
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: hylafax-server (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Denis Smirnov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 14:51 MSK by Vladimir V. Kamarzin
Modified: 2011-05-14 18:46 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir V. Kamarzin 2011-05-06 14:51:37 MSK
В инитскрипте есть проверка на переменную HFAXD_OLD_PROTOCOL, которая должна определяться в setup.cache, но современный faxsetup такую переменную не прописывает, в результате чего `service hylafax-service start` не имеет шанса выполниться.

Пофиксил с помощью комментирования соответствующего участка:
#       if checkvar $HFAXD_OLD_PROTOCOL
#       then
#               OPTS="$OPTS -o 4557"
#               OUT=" OLD Protocol"
#       fi
Comment 1 Repository Robot 2011-05-14 18:46:11 MSK
hylafax-5.2.7-alt8 -> sisyphus:

* Sat May 14 2011 Denis Smirnov <mithraen@altlinux> 5.2.7-alt8
- bugfixes:
  + Fix loop in status (ALT #25580).
  + Add requires to ghostscript-utils (ALT #25598).
  + Add requires to fonts-type1-htmldoc (ALT #25596).
  + remove old unused code in initscript (ALT #25581).