mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
avahi: create users and groups from now per scripts
This commit is contained in:
parent
cef1455a87
commit
4ee57a1149
@ -13,6 +13,11 @@ $SCRIPTS/install pygtk
|
|||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||||
PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`
|
PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`
|
||||||
|
|
||||||
|
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
|
||||||
|
add_user avahi-autoipd x 496 496 "avahi-autoipd" "/var/lib/avahi-autoipd" "/bin/sh"
|
||||||
|
add_group avahi 495
|
||||||
|
add_group avahiautoipd 496
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/sbin
|
mkdir -p $INSTALL/usr/sbin
|
||||||
cp -PR $PKG_BUILD/avahi-autoipd/avahi-autoipd $INSTALL/usr/sbin
|
cp -PR $PKG_BUILD/avahi-autoipd/avahi-autoipd $INSTALL/usr/sbin
|
||||||
cp -PR $PKG_BUILD/avahi-daemon/.libs/avahi-daemon $INSTALL/usr/sbin
|
cp -PR $PKG_BUILD/avahi-daemon/.libs/avahi-daemon $INSTALL/usr/sbin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user