Linux: Runlevel editor
Jump to navigation
Jump to search
Ubuntu - rcconf
Install
apt-get install rcconf
# Install dialog if not installed already
sudo apt-get install dialogUsage
- List services
root@soc0:/home/Jon# rcconf --list
ondemand on
apache2 on
apparmor on
pppd-dns on
rsync on
openipmi on
sudo on
. . .- Disable a service at startup
root@soc0:/home/Jon# rcconf --off dnsmasq
update-rc.d: warning: dnsmasq start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: dnsmasq stop runlevel arguments (0 1 2 3 4 5 6) do not match LSB Default-Stop values (0 1 6)
Adding system startup for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc1.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc2.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc3.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc4.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc5.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc6.d/K85dnsmasq -> ../init.d/dnsmasq- Enable a service at startup
root@soc0:/home/Jon# rcconf --on dnsmasq