Bug 8790 - [!!] rpm -e hardware results inconfiguration damage
Summary: [!!] rpm -e hardware results inconfiguration damage
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: hardware (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 18:29 MSK by Michael Shigorin
Modified: 2007-04-06 16:28 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 Michael Shigorin 2006-01-03 18:29:50 MSK
Антон, а можешь пояснить смысл так делать?  Оно чему-то мешает?
Удаление конфигурации, к которой мог приложить руку человек -- IMCO недопустимо.

--- /etc/init.d/hardware
stop() {
        if [ -h /etc/X11/xorg.conf ] && [ "`readlink /etc/X11/xorg.conf`" ==
"xorg.conf.auto" ];then
            action "Remove Xorg configuration" rm -f /etc/X11/xorg.conf
/etc/X11/xorg.conf.auto
        fi
        RETVAL=$?
        return $RETVAL
}
Comment 1 Anton Farygin 2006-01-10 17:12:13 MSK
В твоём вопросе есть ответ.