SoaS: further live image startup fixes

This commit is contained in:
Peter Robinson 2011-06-12 12:11:59 +01:00
parent 8203f7b391
commit 776275a4e2
2 changed files with 8 additions and 3 deletions

View File

@ -329,8 +329,6 @@ exists() {
\$* \$*
} }
touch /.liveimg-late-configured
# read some variables out of /proc/cmdline # read some variables out of /proc/cmdline
for o in \`cat /proc/cmdline\` ; do for o in \`cat /proc/cmdline\` ; do
case \$o in case \$o in
@ -363,6 +361,8 @@ EndSection
FOE FOE
fi fi
touch /.liveimg-late-configured
EOF EOF
chmod 755 /etc/rc.d/init.d/livesys chmod 755 /etc/rc.d/init.d/livesys

View File

@ -90,7 +90,7 @@ Sugar on a Stick 5 (Coconut)
Fedora release 15 (Lovelock) Fedora release 15 (Lovelock)
EOF EOF
cat >> /etc/rc.d/init.d/livesys << EOF cat >> /etc/rc.d/init.d/livesys-late << EOF
# run lokkit as firewall command doesn't seem to work # run lokkit as firewall command doesn't seem to work
lokkit --enabled --service=mdns lokkit --enabled --service=mdns
@ -133,6 +133,7 @@ mtime=1302886515
lock-on-idle=false lock-on-idle=false
lock-timeout=0 lock-timeout=0
FOE FOE
chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings
fi fi
@ -167,4 +168,8 @@ FOE
EOF EOF
chmod 755 /etc/rc.d/init.d/livesys-late
/sbin/restorecon /etc/rc.d/init.d/livesys-late
/sbin/chkconfig --add livesys-late
%end %end