Skip to content

initmenu overwrites config files & typo #27

@zlinc

Description

@zlinc

initmenu creates the wrong file on line 45:
sudo cp /etc/systemd/system.conf /etc/systemd/system.conf.d/10-logind.conf && \

Should be:
sudo cp /etc/systemd/system.conf /etc/systemd/system.conf.d/10-system.conf && \

Also for me it overwrites the file if it exists? perhaps it could be:

system.conf)
 if [ -f /etc/systemd/system.conf.d/10-system.conf ]
        then sudo $TEXTEDITOR /etc/systemd/system.conf.d/10-system.conf
    else
        sudo mkdir -p /etc/systemd/system.conf.d/ && \
        sudo cp /etc/systemd/system.conf /etc/systemd/system.conf.d/10-system.conf && \
        sudo $TEXTEDITOR /etc/systemd/system.conf.d/10-system.conf
    fi
break
;; 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions