Bug 5668 - Different /etc/sysconfig/hotplug handling in /etc/hotplug/*.rc and /etc/hotplug/*.agent
Summary: Different /etc/sysconfig/hotplug handling in /etc/hotplug/*.rc and /etc/hotpl...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: hotplug (show other bugs)
Version: unstable
Hardware: all Linux
: P2 blocker
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 12:51 MSK by Sir Raorn
Modified: 2005-07-13 15:47 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2004-12-10 12:51:44 MSK
В общем всё это хотелось бы привести к одному виду...  В идеале - избавиться от
переменной HOTPLUGRC и рулить через $*START или $*PLUG...

/etc/hotplug/block.rc:
...
if [ "$HOTPLUG" == "no" ];then
    exit 0
fi
...

/etc/hotplug/block.agent:
...
if [ "$HOTPLUG" == "no" -o "$BLOCKPLUG" == "no" ];then
    exit 0
fi
...

/etc/hotplug/usb.rc:
...
if [ "$HOTPLUG" == "no" -o "$USBSTART" == "no" ];then
    exit 0
fi
...

/etc/hotplug/usb.agent:
...
if [ "$HOTPLUG" == "no" -o "$USBPLUG" == "no" ];then
    exit 0
fi
...

/etc/hotplug/sound.rc:
...
if [ "$HOTPLUG" == "no" -o "$SOUNDSTART" == "no" ];then
    exit 0
fi
...

/etc/hotplug/sound.agent:
...
if [ "$HOTPLUG" == "no" -o "$SOUNDPLUG" == "no" ];then
    exit 0
fi
...
Comment 1 Anton Farygin 2004-12-14 16:36:31 MSK
Все переменные типа "START" сейчас уже не актуальны и их использование убрано в
новой сборке (2004_09_23-alt3)