How to add this to rc tunables

Stilez

Guru
Joined
Apr 8, 2016
Messages
529
I want to add "vidcontrol -h 5000" to rc.conf, via tunables. (Or even as a loader variable if able)

But it doesn't seem to follow the usual pattern of "variable = value", so how should I enter it in the UI?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
I don't think the UI can handle this. You may need to add it to /etc/rc.conf.local directly from shell.
 

Stilez

Guru
Joined
Apr 8, 2016
Messages
529
Can I add it to the zsh startup script for interactive logins? If so, how?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
zsh uses /etc/profile for system-wide login parameters, and then $HOME/.profile for user-specific login parameters, according to zsh's man page.
 
Top