shithub: riscv

Download patch

ref: 918b918f19271f48d85dfbd314362dbd4763c67b
parent: e113f037a3f79396dfd4bc17e69061d84ee3b8e9
author: glenda <glenda@flatboxold.9hal>
date: Tue Aug 30 09:00:00 EDT 2011

inst/tzsetup: fix

--- a/rc/bin/inst/tzsetup
+++ b/rc/bin/inst/tzsetup
@@ -14,11 +14,11 @@
 	echo 'Setup Time Zone'
 	echo
 
-	options=`{ls -p /adm/timezone | grep -v -e '(README|local)'}
+	options=`{ls -p /n/newfs/adm/timezone | grep -v -e '(README|local)'}
 	prompt -d US_Eastern 'Time Zone' $options
 	
-	if(test -f /adm/timezone/$rd){
-		cp /adm/timezone/$rd /adm/timezone/local >[2]/dev/null
+	if(test -f /n/newfs/adm/timezone/$rd){
+		cp /n/newfs/adm/timezone/$rd /n/newfs/adm/timezone/local
 		tzd=done
 	}
 	if not
--