projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding select_eth_device script from Frederic Boiteux <fboiteux@calistel.com>.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
25configure_init
diff --git
a/scripts/live-bottom/25configure_init
b/scripts/live-bottom/25configure_init
index
3a7633f
..
f55dd0e
100755
(executable)
--- a/
scripts/live-bottom/25configure_init
+++ b/
scripts/live-bottom/25configure_init
@@
-77,7
+77,8
@@
then
then
for f in /root/etc/event.d/tty*
do
then
for f in /root/etc/event.d/tty*
do
- sed -i -e "s|^respawn.*|respawn /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
+ sed -i -e "/^respawn$/!s|^respawn.*|respawn /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
+ sed -i -e "s|^exec.*|exec /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f}
done
fi
fi
done
fi
fi
@@
-97,9
+98,6
@@
then
ln -s /bin/true /root/usr/sbin/anacron
fi
ln -s /bin/true /root/usr/sbin/anacron
fi
- # No point, really
- rm -f /root/etc/rc?.d/[SK]??postfix
-
# Avoid clobbering the user's clock
rm -f /root/etc/rc?.d/K??hwclock.sh
fi
# Avoid clobbering the user's clock
rm -f /root/etc/rc?.d/K??hwclock.sh
fi