Permissions on mesh users script
This commit is contained in:
parent
7eed6ef862
commit
387a74371e
|
@ -715,6 +715,8 @@ function configure_user_interface {
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt
|
lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d > /home/$MY_USERNAME/Desktop/Users.txt
|
||||||
EOF
|
EOF
|
||||||
|
chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
|
||||||
|
chroot "$rootdir" chmod +x /usr/bin/list-tox-users
|
||||||
echo "* * * * * $MY_USERNAME /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
|
echo "* * * * * $MY_USERNAME /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
|
||||||
|
|
||||||
if [[ $VARIANT != "usb" ]]; then
|
if [[ $VARIANT != "usb" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue