mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
package/klish: simplify, drop confusing comments
Also, change socket file path from /tmp to /run, as is customary. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -1,17 +1,10 @@
|
|||||||
# Template for config file /etc/klish/klish.conf. It's used by klish utility.
|
# Overrides for config file /etc/klish/klish.conf
|
||||||
|
|
||||||
# The klishd uses UNIX domain socket to receive connections. It will create an
|
UnixSocketPath=/run/klishd.sock
|
||||||
# filesystem entry to allow clients to find connection point. By default klish
|
|
||||||
# client utility will connect to /tmp/klish-unix-socket.
|
|
||||||
#UnixSocketPath=/tmp/klish-unix-socket
|
|
||||||
|
|
||||||
# The klish can use external pager for non-interactive commands. By default it
|
# Klish can use an external pager for all output
|
||||||
# will execute "/usr/bin/less -I -F -e -X -K -d -r -S" process as a pager.
|
|
||||||
Pager="/usr/bin/less -I -F -e -X -K -d -r -S"
|
Pager="/usr/bin/less -I -F -e -X -K -d -r -S"
|
||||||
|
UsePager=y
|
||||||
# External pager is enabled by default. But user can explicitly enable or
|
|
||||||
# disable it. Use "y" or "n" values.
|
|
||||||
#UsePager=y
|
|
||||||
|
|
||||||
# Set max size of history. By default 100 lines are saved, for every new
|
# Set max size of history. By default 100 lines are saved, for every new
|
||||||
# line after that, the oldest line is dropped. Set to 0 for unlimited.
|
# line after that, the oldest line is dropped. Set to 0 for unlimited.
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ KLISH_CONF_OPTS += --with-libxml2
|
|||||||
define KLISH_INSTALL_CONFIG
|
define KLISH_INSTALL_CONFIG
|
||||||
$(INSTALL) -t $(TARGET_DIR)/etc/klish -D -m 0644 \
|
$(INSTALL) -t $(TARGET_DIR)/etc/klish -D -m 0644 \
|
||||||
$(@D)/plugins/klish/xml/ptypes.xml
|
$(@D)/plugins/klish/xml/ptypes.xml
|
||||||
$(INSTALL) -t $(TARGET_DIR)/etc/klish -D -m 0644 \
|
$(INSTALL) -m 0644 $(KLISH_PKGDIR)/klish.conf $(@D)/klish.conf
|
||||||
$(KLISH_PKGDIR)/klish.conf $(@D)/klishd.conf
|
$(INSTALL) -m 0644 $(KLISH_PKGDIR)/klishd.conf $(@D)/klishd.conf
|
||||||
endef
|
endef
|
||||||
KLISH_POST_INSTALL_TARGET_HOOKS += KLISH_INSTALL_CONFIG
|
KLISH_POST_INSTALL_TARGET_HOOKS += KLISH_INSTALL_CONFIG
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Overrides for config file /etc/klish/klishd.conf
|
||||||
|
|
||||||
|
UnixSocketPath=/run/klishd.sock
|
||||||
|
|
||||||
|
DBs=libxml2
|
||||||
Reference in New Issue
Block a user