Annotation of /mcore-src/trunk/mcore-tools/dracut/mcored/run-mcored.sh.in
Parent Directory | Revision Log
Revision 2042 -
(hide annotations)
(download)
(as text)
Wed Apr 17 14:20:02 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/dracut/run-mcored.sh
File MIME type: application/x-sh
File size: 309 byte(s)
Wed Apr 17 14:20:02 2013 UTC (11 years ago) by niro
Original Path: mcore-src/trunk/mcore-tools/dracut/run-mcored.sh
File MIME type: application/x-sh
File size: 309 byte(s)
-added dracut module
1 | niro | 2042 | #!/bin/sh |
2 | |||
3 | if [ -x /usr/sbin/sslsvd -a -x /usr/sbin/mcored -a -x /usr/sbin/udhcpc -a -f /etc/conf.d/mcored ] | ||
4 | then | ||
5 | # setup networking | ||
6 | /usr/sbin/udhcpc eth0 | ||
7 | # start mcored | ||
8 | . /etc/conf.d/mcored | ||
9 | /usr/sbin/sslsvd -U ${SSL_USER} -/ ${CHROOT_DIR} \ | ||
10 | -Z ${SSL_CERT} -K ${SSL_KEY} \ | ||
11 | 0 6666 /usr/sbin/mcored | ||
12 | fi |