Openrc » История » Версия 1
Андрей Волков, 2011-12-28 18:32
1 | 1 | Андрей Волков | h1. Openrc |
---|---|---|---|
2 | |||
3 | |||
4 | |||
5 | |||
6 | Восстанавливаем сервисы, которые уже запущены: |
||
7 | <pre> |
||
8 | for NAME in $(rc-status -Cq boot sysinit |grep stoppe | awk '{print $1}'); do ln -vs /etc/init.d/$NAME /lib64/rc/init.d/started/; done |
||
9 | </pre> |
||
10 | |||
11 | <pre> |
||
12 | qfile -o /etc/init.d/* /etc/conf.d/* |
||
13 | </pre> |
||
14 | |||
15 | <pre> |
||
16 | rm /etc/init.d/checkfs /etc/init.d/checkroot /etc/init.d/crypto-loop /etc/init.d/halt.sh /etc/init.d/pydoc-2.6 /etc/init.d/rmnologin /etc/conf.d/crypto-loop /etc/conf.d/env_whitelist /etc/conf.d/pydoc-2.6 /etc/conf.d/rc |
||
17 | |||
18 | </pre> |
||
19 | <pre> |
||
20 | find -L /lib64/rc/init.d/started/ -type l -exec rm -fv {} \; |
||
21 | </pre> |