Openrc » История » Версия 2
Андрей Волков, 2011-12-28 18:33
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 | 2 | Андрей Волков | rm -v /etc/init.d/checkfs /etc/init.d/checkroot /etc/init.d/crypto-loop /etc/init.d/halt.sh \ |
17 | /etc/init.d/pydoc-2.6 /etc/init.d/rmnologin /etc/conf.d/crypto-loop \ |
||
18 | /etc/conf.d/env_whitelist /etc/conf.d/pydoc-2.6 /etc/conf.d/rc |
||
19 | 1 | Андрей Волков | |
20 | </pre> |
||
21 | <pre> |
||
22 | find -L /lib64/rc/init.d/started/ -type l -exec rm -fv {} \; |
||
23 | </pre> |