Created
December 19, 2014 00:37
-
-
Save sbz/b0b74cabb953547b8633 to your computer and use it in GitHub Desktop.
FreeBSD config file (base, localbase, kernel?, ...) backup as json in order to redeploy/backup config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@base": { | |
"files": [ | |
{ | |
"make.conf": { | |
"filename": "make.conf", | |
"dirpath": "/etc/", | |
"@destination": "/etc/make.conf", | |
"@content": { | |
"svn_update": "yes", | |
"with_kms": "yes", | |
"with_new_xorg": "yes" | |
}, | |
"@delimiter": "=" | |
} | |
}, | |
{ | |
"src.conf": { | |
"filename": "src.conf", | |
"dirpath": "/etc/", | |
"@destination": "/etc/src.conf", | |
"@content": { | |
"without_telnet": "yes", | |
"without_kerberos": "yes" | |
}, | |
"@delimiter": "=" | |
} | |
}, | |
{ | |
"wpa_supplicant.conf": { | |
} | |
} | |
] | |
}, | |
"@localbase": { | |
"files": [ | |
{ | |
"pkg.conf": { | |
"filename": "pkg.conf", | |
"dirpath": "/usr/local/etc/", | |
"@destination": "/usr/local/etc/pkg.conf", | |
"@content": { | |
"syslog": "yes" | |
}, | |
"@delimiter": ":" | |
} | |
}, | |
{ | |
"tsocks.conf": { | |
"filename": "tsocks.conf", | |
"dirpath": "/usr/local/etc/", | |
"@destination": "/usr/local/etc/tsocks.conf", | |
"@content": { | |
"server": "127.0.0.1", | |
"server_port": "6666" | |
}, | |
"@delimiter": "=" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My ideas is: