summary refs log tree commit diff
path: root/etc/openbsd/1
blob: 417edf2000dacfb83b89128654341f7229da1edb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
/sbin/reboot

exit