diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-12 00:27:11 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-12 00:27:11 +0000 |
commit | 994606821c685d34a99f890ea6e59bdfdc756dbd (patch) | |
tree | 67585d0de7216d1ba5f19745933cc14134d6d7d9 /usr/glenda/bin/rc | |
parent | ac751cc6ef1594810e5f9b5c10124dd430dbde75 (diff) | |
download | plan9front-994606821c685d34a99f890ea6e59bdfdc756dbd.tar.xz |
more sane livecd startup
Diffstat (limited to 'usr/glenda/bin/rc')
-rwxr-xr-x | usr/glenda/bin/rc/pull | 17 | ||||
-rwxr-xr-x | usr/glenda/bin/rc/riostart | 16 | ||||
-rwxr-xr-x | usr/glenda/bin/rc/screensize | 9 |
3 files changed, 1 insertions, 41 deletions
diff --git a/usr/glenda/bin/rc/pull b/usr/glenda/bin/rc/pull deleted file mode 100755 index 42b5ecc27..000000000 --- a/usr/glenda/bin/rc/pull +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/rc - -rfork e -flags=() -while(! ~ $#* 0 && ~ $1 -*){ - if(~ $1 -c -s){ - flags=($flags $1) - shift - } - flags=($flags $1) - shift -} -if(test -f /srv/kfs.cmd) - disk/kfscmd allow -replica/pull -v $flags /dist/replica/network $* -if(test -f /srv/kfs.cmd) - disk/kfscmd disallow diff --git a/usr/glenda/bin/rc/riostart b/usr/glenda/bin/rc/riostart index c8515d08e..f4d3f6104 100755 --- a/usr/glenda/bin/rc/riostart +++ b/usr/glenda/bin/rc/riostart @@ -1,17 +1,3 @@ #!/bin/rc - -scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) -wid=$scr(11) -ht=$scr(12) - window 0,0,161,117 stats -lmisce -window 161,0,560,117 faces -i - -if(~ `{screensize} small) - dump=acme.dump.small -if not - dump=acme.dump - -a=`{echo $wid-35 | hoc } -window 60,90,$a,$ht acme -l lib/$dump -window 20,140,610,450 /usr/glenda/lib/first.window +window diff --git a/usr/glenda/bin/rc/screensize b/usr/glenda/bin/rc/screensize deleted file mode 100755 index e38ed4d47..000000000 --- a/usr/glenda/bin/rc/screensize +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/rc - -scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) -wid=$scr(11) -ht=$scr(12) -if(test $wid -le 1024) - echo small -if not - echo normal |