mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
unify configuration names
This commit is contained in:
parent
d287f52ba5
commit
6e6c547460
@ -64,7 +64,7 @@ Configuration file
|
||||
.RE
|
||||
.SH SEE ALSO
|
||||
.BR netctlgui-helper (1)
|
||||
.BR netctlgui-helper.conf (5)
|
||||
.BR netctl-gui.conf (5)
|
||||
.SH STANDARDS
|
||||
See
|
||||
.B @CMAKE_INSTALL_PREFIX@/share/doc/netctl-gui/netctl-gui-dbus-api.html
|
||||
|
@ -24,7 +24,7 @@ configure_file (${SUBPROJECT_MAN_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_MA
|
||||
configure_file (${SUBPROJECT_MAN5_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_MAN5})
|
||||
|
||||
install (FILES org.netctlgui.helper.conf DESTINATION ${DBUS_SYSTEMCONF_PATH})
|
||||
install (FILES netctlgui-helper.conf DESTINATION /etc)
|
||||
install (FILES netctl-gui.conf DESTINATION /etc)
|
||||
install (FILES netctlgui-helper.service DESTINATION ${SYSTEMD_SERVICE_PATH})
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_MAN} DESTINATION share/man/man1/)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_MAN5} DESTINATION share/man/man5/)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Configuration file for Netctl GUI project
|
||||
# /etc/netctlgui-helper.conf - system-wide configuration
|
||||
# /etc/netctl-gui.conf - system-wide configuration
|
||||
# $HOME/.config/netctl-gui.conf - user configuration
|
||||
|
||||
# close helper after GUI application quit.
|
@ -1,8 +1,8 @@
|
||||
.TH netctlgui-helper.conf 5 "@CURRENT_DATE@" "version @PROJECT_VERSION@" "File Formats Manual"
|
||||
.TH netctl-gui.conf 5 "@CURRENT_DATE@" "version @PROJECT_VERSION@" "File Formats Manual"
|
||||
.SH NAME
|
||||
netctlgui-helper.conf is a configuration file of Netctl GUI project
|
||||
.SH SYNOPSIS
|
||||
.B /etc/netctlgui-helper.conf
|
||||
.B /etc/netctl-gui.conf
|
||||
for system-wide configuration or
|
||||
.B $HOME/.config/netctl-gui.conf
|
||||
for user one
|
@ -64,7 +64,7 @@ By the way it is highly recommended to copy source service file before to
|
||||
and edit copied file to avoid upgrade problems.
|
||||
.SH SEE ALSO
|
||||
.BR netctl-gui (1)
|
||||
.BR netctlgui-helper.conf (5)
|
||||
.BR netctl-gui.conf (5)
|
||||
.SH STANDARDS
|
||||
See
|
||||
.B @CMAKE_INSTALL_PREFIX@/share/doc/netctl-gui/netctl-gui-dbus-api.html
|
||||
|
@ -173,7 +173,7 @@ void NetctlHelper::updateConfiguration()
|
||||
if (debug) qDebug() << PDEBUG;
|
||||
|
||||
deleteInterface();
|
||||
configuration = getSettings(QString("/etc/netctlgui-helper.conf"));
|
||||
configuration = getSettings(QString("/etc/netctl-gui.conf"));
|
||||
if (!system)
|
||||
configuration = getSettings(configPath, configuration);
|
||||
createInterface();
|
||||
|
Loading…
Reference in New Issue
Block a user