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

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 perl -Ilib/PXElator -Ilib -Mdhcpd -e dhcpd::start
18 logfile /tmp/pxelator.dhcpd.log
19 log on
20 focus down
21 screen -t tftpd sudo perl -Ilib/PXElator -Ilib -Mtftpd -e tftpd::start
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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26