summary refs log tree commit diff
path: root/etc/openbsd/1
blob: b1bc88894cee6f8eb26993d08e17f47ca47f7e5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# system one time tasks
trap : 2
trap : 3

/bin/sh /etc/rc autoboot && exit 0

# /etc/rc crashed, start emergency shell.
echo '/etc/rc failed. Press <enter> for emergency shell...'
read input
/bin/sh -l
exec /sbin/reboot