Browse Source

init: populate /etc/conf/idunn to be used by resume and friends

0.2-maint
Alejandro Mery 16 years ago
parent
commit
7a64c45dd5
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      initramfs/init.sh

+ 6
- 0
initramfs/init.sh

@ -52,6 +52,12 @@ for x in USR1 USR2 TERM INT; do
trap "shutoff_handler $x" $x
done
cat > /etc/conf/idunn <<EOT
root="$root"
init="${init:-/sbin/init}"
initopt="$*"
EOT
# start the world
/etc/rc.d/rc.sysinit 2>&1 | tee -a $LOG

Loading…
Cancel
Save