Diff of /mcore-src/trunk/mcore-tools/dracut/run-mcored.sh.in
Parent Directory | Revision Log | Patch
revision 2326 by niro, Fri Jul 11 13:09:42 2014 UTC | revision 2327 by niro, Fri Jul 11 13:15:12 2014 UTC | |
---|---|---|
# | Line 12 then | Line 12 then |
12 | [ -w / ] || need_remount=1 | [ -w / ] || need_remount=1 |
13 | if [[ ${need_remount} = 1 ]] | if [[ ${need_remount} = 1 ]] |
14 | then | then |
15 | # remont /sysroot writeable | # remount /sysroot writeable |
16 | echo "Remount /sysroot writeable" | echo "Remount /sysroot writeable" |
17 | mount -oremount,rw /sysroot | mount -oremount,rw /sysroot |
18 | else | |
19 | echo "Already a rw filesystem, remount not required" | |
20 | fi | fi |
21 | # start mcored | # start mcored |
22 | echo "Starting mcore daemon" | echo "Starting mcore daemon" |
|