dot

packages and services management
Log | Files | Refs | README

commit c4eabc36dc4e57495bef09a82b1693623b9d5d59
parent 6cc2c67461cda0afba9b32ccc447a9b99fe09b78
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 19 Feb 2018 12:04:47 +0100

u9fs/build: unterminated quoted string

Diffstat:
Mbin/xdg-open | 15+++++----------
Mpack/u9fs/build | 2+-
Mskel/inetd.conf | 4++--
3 files changed, 8 insertions(+), 13 deletions(-)

diff --git a/bin/xdg-open b/bin/xdg-open @@ -65,9 +65,9 @@ esac case "$scheme" in (9p) - dir="$HOME/var/9p/$address" + dir="$HOME/var/9p/$host" mkdir -p "$dir" - exec doas 9pfs "$address" "$dir" + exec doas 9pfs "$host" "$dir" ;; (ftp) exec ftp "$1" @@ -148,20 +148,15 @@ case "$scheme" in exec retawq "$1" ;; (sftp) - address="${1#*://}" - address="${address%*:}" [ "$port" = . ] && port='22' - exec sftp -P "$port" "$address" + exec sftp -P "$port" "$host" ;; (ssh) - address="${1#*://}" - address="${address%:*}" [ "$port" = . ] && port='22' - exec ssh -p "$port" "$address" + exec ssh -p "$port" "${1#*://}" ;; (telnet) - address="${1#telnet://}" - exec telnet "${address%:*}" "${address##*:}" + exec telnet "$port" "$host" ;; esac diff --git a/pack/u9fs/build b/pack/u9fs/build @@ -1,4 +1,4 @@ #!/bin/sh -e mkdir -p "$OPT/bin" -make DESTROOT="${OPT{" install +make DESTROOT="$OPT" install diff --git a/skel/inetd.conf b/skel/inetd.conf @@ -1,7 +1,7 @@ #service #type #conn #wait #user #path #argv -#u9fs stream tcp nowait nobody /XXX/bin/u9fs u9fs -u "$(id -nu)" -a none "$HOME" -#/tmp/u9fs stream unix nowait nobody /XXX/bin/u9fs u9fs -u "$(id -nu)" -a none "$HOME" +#u9fs stream tcp nowait nobody /XXX/bin/u9fs u9fs -u XXX -a none /XXX/ +#/tmp/u9fs stream unix nowait nobody /XXX/bin/u9fs u9fs -u XXX -a none /XXX/ #http stream tcp nowait nobody /XXX/bin/gproxy gproxy nas.josuah.net #http stream tcp nowait nobody /XXX/bin/ghttp ghttp josuah.net