]> git.lizzy.rs Git - plan9front.git/commitdiff
inst/tzsetup: fix
authorglenda <glenda@flatboxold.9hal>
Tue, 30 Aug 2011 17:00:00 +0000 (13:00 -0400)
committerglenda <glenda@flatboxold.9hal>
Tue, 30 Aug 2011 17:00:00 +0000 (13:00 -0400)
rc/bin/inst/tzsetup [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index cad20dd..92c06a4
@@ -14,11 +14,11 @@ case go
        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