Bug 5668

Summary: Different /etc/sysconfig/hotplug handling in /etc/hotplug/*.rc and /etc/hotplug/*.agent
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: hotplugAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: blocker    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

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)