main: minor bugfix
This commit is contained in:
parent
8ab3dcf590
commit
176adc61fd
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
infinite inotifyd echo /mnt/root | awk '
|
||||
infinite inotifyd echo /mnt/root | awk '
|
||||
|
||||
# listen for writes to rootdir and send them to DOM
|
||||
/^[ce] \/mnt\/root index\.html/ { system("cat "$2"/"$3" | grep -vE \"^#!\" > /dev/browser/html") }
|
||||
/^[ce] \/mnt\/root index\.js/ { system("cat "$2"/"$3" | grep -vE \"^#!\" > /dev/browser/js") }
|
||||
/^[ne] \/mnt\/root index\.html/ { system("cat "$2"/"$3" | grep -vE \"^#!\" > /dev/browser/html") }
|
||||
/^[ne] \/mnt\/root index\.js/ { system("cat "$2"/"$3" | grep -vE \"^#!\" > /dev/browser/js") }
|
||||
|
||||
'
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue