Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created May 14, 2015 09:27
Show Gist options
  • Save ncopa/134c09ee94d1e1101825 to your computer and use it in GitHub Desktop.
Save ncopa/134c09ee94d1e1101825 to your computer and use it in GitHub Desktop.
(none):~# rc-status --runlevel
default
(none):~# rc-update
bootmisc | boot
devfs | sysinit
dmesg | sysinit
hostname | boot
hwclock | boot
hwdrivers | sysinit
killprocs | shutdown
mdev | sysinit
modloop | sysinit
modules | boot
mount-ro | shutdown
savecache | shutdown
sysctl | boot
syslog | boot
(none):~# rc-status
Runlevel: default
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
sysfs [ started ]
mdev-mount [ started ]
Dynamic Runlevel: manual
(none):~# openrc default
(none):~# rc-update -s add boot default
* rc-update: cannot stack the sysinit runlevel
(none):~# openrc boot
* Loading modules ... [ ok ]
* Setting system clock using the hardware clock [UTC] ... [ ok ]
* Checking local filesystems ... [ ok ]
* Remounting filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Migrating /var/lock to /run/lock ... [ ok ]
* Migrating /var/run to /run ... [ ok ]
* Creating user login records ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Setting hostname ... [ ok ]
* Starting busybox klogd ... [ ok ]
* Starting busybox syslog ... [ ok ]
localhost:~# rc-status --runlevel
boot
localhost:~# openrc default
localhost:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment