BETLOG
Posts: 4
Joined: Wed Apr 13, 2016 1:03 pm

Sans raspi-config

Thu Jun 16, 2016 3:39 pm

I'm looking for a list of raspi-config's internal commands.
ie: I want to be able to issue cli commands directly without needing to use the raspi-config GUI or have it installed at all.
.... various distros don't include raspi-config.... and although I can usually install it I'd prefer not to in most cases.
Does such a list exist?

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Sans raspi-config

Thu Jun 16, 2016 3:43 pm

It's just a script file. Have a look at it.

Code: Select all

pi@raspi3 ~ $ which raspi-config
/usr/bin/raspi-config
pi@raspi3 ~ $ less /usr/bin/raspi-config 
#!/bin/sh
# Part of raspi-config https://github.com/RPi-Distro/raspi-config
#
# See LICENSE file for copyright and license details

INTERACTIVE=True
ASK_TO_REBOOT=0
BLACKLIST=/etc/modprobe.d/raspi-blacklist.conf
CONFIG=/boot/config.txt

(etc)

BETLOG
Posts: 4
Joined: Wed Apr 13, 2016 1:03 pm

Re: Sans raspi-config

Thu Jun 16, 2016 3:49 pm

Oh!.. thanks.
Inconceivable as it is.. I don't have raspbian installed. I was kind of hoping there was a nice HTML table.
I suppose I can pull one out of one of the images I have. But an online source would be much more convenient.
Even if you could just paste the entire script here....

User avatar
bensimmo
Posts: 4622
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Sans raspi-config

Thu Jun 16, 2016 3:53 pm

https://www.raspberrypi.org/documentati ... -config.md

and all the links off that page to details and raspi-config on github


Return to “General discussion”