/[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

Contents of /bin/start-split.sh

Parent Directory Parent Directory | Revision Log Revision Log


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

1 #!/bin/sh
2
3 source conf/.install.sh
4
5 depends screen
6
7 cat > /tmp/screenrc << ____
8
9 autodetach off
10 altscreen off
11 defscrollback 10000
12 startup_message off
13
14 sessionname PXElator
15
16 split
17 screen -t dhcpd sudo ./bin/dhcpd.pl
18 logfile /tmp/pxelator.dhcpd.log
19 log on
20 focus down
21 screen -t tftpd sudo ./bin/tftpd.pl
22 logfile /tmp/pxelator.tftp.log
23 log on
24
25 ____
26
27 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