[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:general_admin:openrc [2018/11/07 09:26 (UTC)] – [Migrating from /etc/init.d to /etc/openrc/init.d] need to handle local.d too aadityahowtos: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 ///etc/mtab// as a file, and how to correct it: It may show a warning about deprecated support for ///etc/mtab// as a file, and how to correct it:
-  # cp /etc/mtab /etc/mtab.bak+  # cp /etc/mtab /etc/mtab.bkp
   # ln -snf /proc/self/mounts /etc/mtab   # ln -snf /proc/self/mounts /etc/mtab
      
Line 173: Line 173:
 Add the following to your boot parameters (via ///etc/lilo.conf// for lilo or ///etc/default/grub// for grub): Add the following to your boot parameters (via ///etc/lilo.conf// for lilo or ///etc/default/grub// for grub):
   init=/sbin/openrc-init   init=/sbin/openrc-init
 +
 +Regenerate boot configuration ('lilo -v' or 'grub-mkconfig -o /boot/grub/grub.cfg').
  
 === Shutdown/reboot === === Shutdown/reboot ===
Line 235: Line 237:
     fi     fi
   done   done
 +  # main config file
 +  diff -Nupr /etc/rc.conf /etc/openrc/rc.conf
      
   # check local.d changes   # check local.d changes
Line 249: 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 and check ===+=== 3. Check and reboot === 
 + 
 +Verify if ''rc-status'' is showing all services (it may show them as stopped). 
 + 
 +Reboot and check whether things are working expected, make changes as necessary.
  
-After rebooting and checking whether things are working expected, old files and folders can be renamed (or removed).+The old files and folders can be renamed (or removed).
  
   mv /etc/init.d /etc/init.d-openrc-bkp   mv /etc/init.d /etc/init.d-openrc-bkp
 howtos:general_admin:openrc ()