| Summary: | неверные скрипты | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | inger <inger> |
| Component: | net-scripts | Assignee: | Denis Ovsienko <pilot> |
| Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Я тут почитал и мне кажется, что по-другому нельзя. Вот это из /usr/sbin/post_service: /sbin/service "$1" condrestart ||: При таких обстоятельствах можно будет обновлять net-scripts только с физической консоли. Стоит ли только для порядка заводить пустой condrestart/condstop? ну тогда оставим |
if [ $1 -ge 2 ]; then /usr/sbin/control-dump usernetctl fi postinstall scriptlet (through /bin/sh): if [ $1 -ge 2 ]; then /usr/sbin/control-restore usernetctl else /sbin/chkconfig --add network /sbin/chkconfig --add netfs fi preuninstall scriptlet (through /bin/sh): if [ $1 -eq 0 ]; then /sbin/chkconfig --del netfs /sbin/chkconfig --del network не используются стандартные макросы %post/%preun_service