Skip to content

Instantly share code, notes, and snippets.

@kbruner

kbruner/commands + shell Secret

Last active Dec 25, 2020
Embed
What would you like to do?
~ # sysrc cbsd_workdir="/usr/cbsd"
cbsd_workdir: -> /usr/cbsd
~ # wget https://raw.githubusercontent.com/kbruner/freebernetes/main/k3s/cbsd/initenv.conf
[ edit initenv.conf ]
~ # /usr/local/cbsd/sudoexec/initenv inter=0 `pwd`/initenv.conf # need full path for initenv.conf ¯\_(ツ)_/¯
[ lots of output ]
~ # grep cbsd /etc/rc.conf
cbsd_workdir="/usr/cbsd"
cbsdrsyncd_enable="YES"
cbsdrsyncd_flags="--config=/usr/cbsd/etc/rsyncd.conf"
cbsdd_enable="YES"
~ # service cbsdrsyncd stop
~ # sysrc -x cbsdrsyncd_enable
~ # sysrc -x cbsdrsyncd_flags
~ # grep cbsd /etc/rc.conf
cbsd_workdir="/usr/cbsd"
cbsdd_enable="YES"
sysrc cbsd_workdir="/usr/cbsd"
wget https://raw.githubusercontent.com/kbruner/freebernetes/main/k3s/cbsd/initenv.conf
vi initenv.conf
/usr/local/cbsd/sudoexec/initenv inter=0 `pwd`/initenv.conf
service cbsdrsyncd stop
sysrc -x cbsdrsyncd_enable
sysrc -x cbsdrsyncd_flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment