2006-04-30 11:57:06 by steve
Applied simplification patch from Tom Mornini.
This commit is contained in:
parent
2271c3b8dc
commit
4e67914aee
@ -9,10 +9,4 @@
|
||||
# --
|
||||
# http://www.steve.org.uk/
|
||||
|
||||
prefix=$1
|
||||
|
||||
cat /etc/inittab | \
|
||||
sed "s/tty[0-9]$/console/g" | \
|
||||
sed "s/^\([2-6].*:respawn*\)/#\1/" \
|
||||
> ${prefix}/etc/inittab
|
||||
|
||||
sed -i -e 's/tty[0-9]$/console/g' -e 's/^\([2-6].*:respawn*\)/#\1/' $1/etc/inittab
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user