<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>6066</bug_id>
          
          <creation_ts>2005-02-08 18:12:01 +0300</creation_ts>
          <short_desc>Update initscript: use separate file for options</short_desc>
          <delta_ts>2010-01-06 20:53:29 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>slmodemd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sviatoslav Sviridov">svd</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21786</commentid>
    <comment_count>0</comment_count>
    <who name="Sviatoslav Sviridov">svd</who>
    <bug_when>2005-02-08 18:12:01 +0300</bug_when>
    <thetext>Было бы неплохо обновить /etc/rc.d/init.d/slmodemd на предмет использования
файла конфигурации.

Например, вот так:

--- slmodemd~   2005-02-08 16:55:29 +0200
+++ slmodemd    2005-02-08 17:01:54 +0200
@@ -15,13 +15,17 @@
 # Source function library.
 . /etc/init.d/functions
 
+SourceIfNotEmpty /etc/sysconfig/slmodem
+# Set the default device
+DEVICE=${DEVICE-/dev/slamr0}
+
 PIDFILE=/var/run/slmodemd.pid
 LOCKFILE=/var/lock/subsys/slmodemd
 RETVAL=0
 
 start()
 {
-       action &quot;Starting slmodem daemon: &quot; start-stop-daemon --quiet --start -b
-m --pidfile $PIDFILE --exec /usr/sbin/slmodemd -- --country=RUSSIA
+       action &quot;Starting slmodem daemon: &quot; start-stop-daemon --quiet --start -b
-m --pidfile $PIDFILE --exec /usr/sbin/slmodemd -- $OPTIONS &quot;$DEVICE&quot;
        RETVAL=$?
        return $RETVAL
 }

===============
$ cat /etc/sysconfig/slmodem 
# Set device name (optional). Default value is /dev/slamr0
#DEVICE=/dev/dsp1

# Set additional slmodemd options 
OPTIONS=&quot;--country=RUSSIA&quot;

==============

В частности, мне понадобилось указать другой девайс...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65489</commentid>
    <comment_count>1</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2008-03-11 15:10:27 +0300</bug_when>
    <thetext>Reassign to nobody@.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105206</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-01-06 20:53:29 +0300</bug_when>
    <thetext>Пакета в сизифе давно (после M40) нет.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>