mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
fixed script execution issues
This commit is contained in:
parent
be27c43cf9
commit
6e914f6626
@ -6,7 +6,7 @@ server.modules = (
|
||||
# "mod_rewrite",
|
||||
)
|
||||
|
||||
server.document-root = "/var/www/html/piviliongen/gen"
|
||||
server.document-root = "/var/www/html/pivilion/gen"
|
||||
server.upload-dirs = ( "/tmp" )
|
||||
server.errorlog = "/var/log/lighttpd/error.log"
|
||||
server.pid-file = "/var/run/lighttpd.pid"
|
||||
@ -23,7 +23,7 @@ compress.cache-dir = "/var/cache/lighttpd/compress/"
|
||||
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
|
||||
|
||||
$SERVER["socket"] == ":81" {
|
||||
server.document-root = "/var/www/html/piviliongen/"
|
||||
server.document-root = "/var/www/html/pivilion/"
|
||||
}
|
||||
|
||||
# default listening port for IPv6 falls back to the IPv4 port
|
||||
|
@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
pause(){
|
||||
read -n1 -rsp $'\nPress any key to continue or Ctrl+C to exit...\n\n'
|
||||
}
|
||||
|
||||
sudo chown pi:pi /home/pi/pivilion/scripts/*
|
||||
sudo chmod u+x /home/pi/pivilion/scripts/*
|
||||
|
||||
echo -e "\nWelcome to pivilion!"
|
||||
|
||||
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user