Browse Source

runit: employed chpst -P (pgrphack) to run getties in new process groups.

user/amery/next/uclibc
Nagy Karoly Gabriel 13 years ago
parent
commit
1807beac96
  1. 4
      base/runit/runit.conf

4
base/runit/runit.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../runit/runit.conf # Filename: package/.../runit/runit.conf
# Copyright (C) 2008 - 2010 The OpenSDE Project # Copyright (C) 2008 - 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -63,7 +63,7 @@ if [ "$SDECFG_INIT" == "runit" ]; then
fi fi
cat << EOT > $root/$sysconfdir/getty-${i#vc/}/run cat << EOT > $root/$sysconfdir/getty-${i#vc/}/run
#!/bin/sh #!/bin/sh
exec /sbin/agetty $agettyargs $speed $i linux exec /sbin/chpst -P /sbin/agetty $agettyargs $speed $i linux
EOT EOT
cat << EOT > $root/$sysconfdir/getty-${i#vc/}/finish cat << EOT > $root/$sysconfdir/getty-${i#vc/}/finish
#!/bin/sh #!/bin/sh

Loading…
Cancel
Save