| Summary: | Different /etc/sysconfig/hotplug handling in /etc/hotplug/*.rc and /etc/hotplug/*.agent | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sir Raorn <raorn> |
| Component: | hotplug | Assignee: | Anton Farygin <rider> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | blocker | ||
| Priority: | P2 | ||
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Все переменные типа "START" сейчас уже не актуальны и их использование убрано в новой сборке (2004_09_23-alt3) |
В общем всё это хотелось бы привести к одному виду... В идеале - избавиться от переменной 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 ...