shithub: rc

Download patch

ref: d0e00e433f5778d3d08cc8c7bf6fda4737864bb2
parent: 7bbebaa711969f7bb108ebe1adc05fcda77b5f49
author: qwx <qwx@sciops.net>
date: Sun Mar 6 06:55:08 EST 2022

themeset: make sure we can actually set a theme

--- a/bin/themeset
+++ b/bin/themeset
@@ -1,7 +1,8 @@
 #!/bin/rc -e
 if(! test -f $home/lib/theme/rio)
 	exit
+while(! test -f /mnt/wsys/theme)
+	sleep 0.1
 cp $home/lib/theme/rio /mnt/wsys/theme
-sleep 0.5
 grep softscreen /dev/vgactl >>/dev/vgactl
 echo hwblank off >>/dev/vgactl