commit f6c92d942dae147cd987f122a6374124b1262652
parent 1f3734d75654c4da14422ec494dbfd6bcd1817ec
Author: St John Karp <contact@stjo.hn>
Date: Wed, 27 Jul 2022 08:31:45 -0400
svc: Make bare.sh executable after running sed against it
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/svc/build b/core/svc/build
@@ -6,6 +6,7 @@ find . -type f -exec grep -l '/bin/' {} \+ |
sed 's|/bin/|/usr/bin/|g' "$file" > _
mv -f _ "$file"
done
+chmod +x svc.d/bare.sh
# Don't start ntpd until the network is up.
sed "s/if \[ -z \"\$PID\" \]/if [ -z \"\$PID\" ] \&\& (route | tail -n 1 | tr -s ' ' | cut -f 4 -d ' ' | grep -q U)/" svc.d/avail/ntpd > _