/[pxelator]/bin/start-split.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /bin/start-split.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 41 - (hide annotations)
Wed Jul 29 16:19:51 2009 UTC (10 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 444 byte(s)
create log files, reattach existing session

1 dpavlin 18 #!/bin/sh
2    
3 dpavlin 38 source conf/.install.sh
4 dpavlin 18
5 dpavlin 38 depends screen
6    
7     cat > /tmp/screenrc << ____
8    
9 dpavlin 41 autodetach off
10     altscreen off
11 dpavlin 38 defscrollback 10000
12     startup_message off
13    
14 dpavlin 41 sessionname PXElator
15    
16 dpavlin 38 split
17     screen -t dhcpd sudo ./bin/dhcpd.pl
18 dpavlin 41 logfile /tmp/pxelator.dhcpd.log
19     log on
20 dpavlin 38 focus down
21     screen -t tftpd sudo ./bin/tftpd.pl
22 dpavlin 41 logfile /tmp/pxelator.tftp.log
23     log on
24 dpavlin 38
25     ____
26    
27 dpavlin 41 screen="screen -R PXElator -c /tmp/screenrc"
28    
29     test ! -z "$DISPLAY" && xterm -e $screen || $screen

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26