summary refs log tree commit diff
path: root/etc/openbsd/1
blob: f83a3f2ec4ed1ace574954fa002ab3151a27e46b (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
/sbin/reboot