quotes
This commit is contained in:
@@ -560,8 +560,8 @@ prepare () {
|
|||||||
#Fedora has SELinux on by default so must make adjustments...
|
#Fedora has SELinux on by default so must make adjustments...
|
||||||
#Will need to do this for mjpeg-streamer as well
|
#Will need to do this for mjpeg-streamer as well
|
||||||
if [ $INSTALL -eq 5 ]; then
|
if [ $INSTALL -eq 5 ]; then
|
||||||
semanage fcontext -a -t bin_t '/home/$user/OctoPrint/bin/.*'
|
semanage fcontext -a -t bin_t "/home/$user/OctoPrint/bin/.*"
|
||||||
chcon -Rv -u system_u -t bin_t /home/$user/OctoPrint/bin/
|
chcon -Rv -u system_u -t bin_t "/home/$user/OctoPrint/bin/"
|
||||||
restorecon -R -v /home/$user/OctoPrint/bin
|
restorecon -R -v /home/$user/OctoPrint/bin
|
||||||
fi
|
fi
|
||||||
echo 'Starting generic service on port 5000'
|
echo 'Starting generic service on port 5000'
|
||||||
|
|||||||
Reference in New Issue
Block a user