Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/dracut/run-mcored.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2080 by niro, Fri May 10 07:25:22 2013 UTC revision 2081 by niro, Fri May 10 13:13:00 2013 UTC
# Line 10  then Line 10  then
10   # print ip config   # print ip config
11   info "Current ip settings:"   info "Current ip settings:"
12   info "$(ip addr)"   info "$(ip addr)"
13     # remont /sysroot writeable
14     info "Remount /sysroot writeable"
15     mount -oremount,rw /sysroot
16   # start mcored   # start mcored
17   info "Starting mcore daemon"   info "Starting mcore daemon"
18   export MROOT=/sysroot   export MROOT=/sysroot
# Line 17  then Line 20  then
20   /usr/sbin/sslsvd -U ${SSL_USER} -/ ${CHROOT_DIR} \   /usr/sbin/sslsvd -U ${SSL_USER} -/ ${CHROOT_DIR} \
21   -Z ${SSL_CERT} -K ${SSL_KEY} \   -Z ${SSL_CERT} -K ${SSL_KEY} \
22   0 6666 /usr/sbin/mcored   0 6666 /usr/sbin/mcored
23     # remount sysroot read-only
24     info "Remount /sysroot read-only"
25     mount -oremount,ro /sysroot
26   fi   fi
27  fi  fi

Legend:
Removed from v.2080  
changed lines
  Added in v.2081