/[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 58 - (hide annotations)
Thu Jul 30 15:20:39 2009 UTC (11 years, 2 months ago) by dpavlin
File MIME type: application/x-sh
File size: 503 byte(s)
fix dhcpd start

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 dpavlin 58 screen -t dhcpd sudo perl -Ilib/PXElator -Ilib -Mdhcpd -e dhcpd::start
18 dpavlin 41 logfile /tmp/pxelator.dhcpd.log
19     log on
20 dpavlin 38 focus down
21 dpavlin 45 screen -t tftpd sudo perl -Ilib/PXElator -Ilib -Mtftpd -e tftpd::start
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 dpavlin 45 test ! -z "$DISPLAY" && xterm -e $screen

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26