another toml fix in paradise

This commit is contained in:
dadav
2020-04-14 21:53:17 +02:00
parent cedcc17391
commit a808fd33c7

@ -311,21 +311,17 @@
- name: check if user configuration exists - name: check if user configuration exists
stat: stat:
path: /etc/pwnagotchi/config.yml path: /etc/pwnagotchi/config.toml
register: user_config register: user_config
- name: create /etc/pwnagotchi/config.yml - name: create /etc/pwnagotchi/config.toml
copy: copy:
dest: /etc/pwnagotchi/config.yml dest: /etc/pwnagotchi/config.toml
content: | content: |
# Add your configuration overrides on this file any configuration changes done to default.yml will be lost! # Add your configuration overrides on this file any configuration changes done to default.toml will be lost!
# Example: # Example:
# # ui.display.enabled = true
# ui: # ui.display.type = "waveshare_2"
# display:
# type: 'inkyphat'
# color: 'black'
#
when: not user_config.stat.exists when: not user_config.stat.exists
- name: enable ssh on boot - name: enable ssh on boot
@ -372,9 +368,9 @@
Hi! I'm a pwnagotchi, please take good care of me! Hi! I'm a pwnagotchi, please take good care of me!
Here are some basic things you need to know to raise me properly! Here are some basic things you need to know to raise me properly!
If you want to change my configuration, use /etc/pwnagotchi/config.yml If you want to change my configuration, use /etc/pwnagotchi/config.toml
All the configuration options can be found on /etc/pwnagotchi/default.yml, All the configuration options can be found on /etc/pwnagotchi/default.toml,
but don't change this file because I will recreate it every time I'm restarted! but don't change this file because I will recreate it every time I'm restarted!
I'm managed by systemd. Here are some basic commands. I'm managed by systemd. Here are some basic commands.