ip17xx: fix autonegotioation issues
[openwrt.git] / target / linux / ps3 / petitboot / base-files / sbin / initrun
1 #!/bin/sh
2 # Run petitboot at first startup, otherwise run a login.
3
4 sbindir=/usr/sbin
5 localstatedir=/var/petitboot
6
7 petitboot=$sbindir/petitboot
8 run_once=$localstatedir/.run-once
9
10 if [ ! -f $run_once -a -x $petitboot ]; then
11 # quiet console
12 echo 3 > /proc/sys/kernel/printk
13 mkdir -p $localstatedir
14 touch $run_once
15 exec $petitboot --timeout
16 fi
17
18 exec /bin/ash --login
This page took 0.045309 seconds and 5 git commands to generate.