[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:general_admin:openrc [2018/11/07 07:24 (UTC)] – [openrc-init] split into sections and add more info aaditya | howtos:general_admin:openrc [2018/11/29 18:53 (UTC)] – [openrc-init] add ingo to reload boot config aaditya | ||
---|---|---|---|
Line 34: | Line 34: | ||
It may show a warning about deprecated support for /// | It may show a warning about deprecated support for /// | ||
- | # cp /etc/mtab /etc/mtab.bak | + | # cp /etc/mtab /etc/mtab.bkp |
# ln -snf / | # ln -snf / | ||
| | ||
Line 173: | Line 173: | ||
Add the following to your boot parameters (via /// | Add the following to your boot parameters (via /// | ||
init=/ | init=/ | ||
+ | |||
+ | Regenerate boot configuration ('lilo -v' or ' | ||
=== Shutdown/ | === Shutdown/ | ||
Line 194: | Line 196: | ||
=== 2. Migrate existing services === | === 2. Migrate existing services === | ||
- | This involves | + | This involves |
# migrate existing services | # migrate existing services | ||
Line 233: | Line 235: | ||
if [ -e "/ | if [ -e "/ | ||
diff -Nupr "/ | diff -Nupr "/ | ||
+ | fi | ||
+ | done | ||
+ | # main config file | ||
+ | diff -Nupr / | ||
+ | | ||
+ | # check local.d changes | ||
+ | for file in / | ||
+ | filename=$(basename " | ||
+ | if [ ! -e "/ | ||
+ | cp -v "/ | ||
+ | elif [ -e "/ | ||
+ | # show changes | ||
+ | diff -Nupr "/ | ||
fi | fi | ||
done | done | ||
Line 238: | Line 253: | ||
Config changes found above can be updated by hand or copy pasted in new location. | Config changes found above can be updated by hand or copy pasted in new location. | ||
- | === 3. Reboot | + | === 3. Check and reboot |
+ | |||
+ | Verify if '' | ||
+ | |||
+ | Reboot and check whether things are working expected, make changes as necessary. | ||
- | After rebooting and checking whether things are working expected, | + | The old files and folders can be renamed (or removed). |
mv /etc/init.d / | mv /etc/init.d / | ||
mv /etc/conf.d / | mv /etc/conf.d / | ||
+ | mv / | ||
+ | mv / | ||
mv / | mv / | ||