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
for o in \`cat /proc/cmdline\` ; do
case \$o in
@ -363,6 +361,8 @@ EndSection
FOE
fi
touch /.liveimg-late-configured
EOF
chmod 755 /etc/rc.d/init.d/livesys

View File

@ -90,7 +90,7 @@ Sugar on a Stick 5 (Coconut)
Fedora release 15 (Lovelock)
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
lokkit --enabled --service=mdns
@ -133,6 +133,7 @@ mtime=1302886515
lock-on-idle=false
lock-timeout=0
FOE
chown -R liveuser:liveuser /home/liveuser/.gnome2/keyrings
fi
@ -167,4 +168,8 @@ FOE
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