blob: 2b2cbbc0bc49857c5f65c8196656bf265a0d0179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
install -d -m755 ${DESTDIR}/etc/rc.d || exit 1
install -d -m755 ${DESTDIR}/etc/conf.d || exit 1
install -d -m755 ${DESTDIR}/etc/rc.d/functions.d/ || exit 1
install -d -m755 ${DESTDIR}/etc/cron.hourly/ || exit 1
for i in inittab rc.conf; do
install -D -m644 $i ${DESTDIR}/etc/$i || exit 1
done
for i in rc.local rc.local.shutdown rc.multi rc.shutdown rc.single rc.sysinit; do
install -D -m755 $i ${DESTDIR}/etc/$i || exit 1
done
install -D -m755 adjtime.cron ${DESTDIR}/etc/cron.hourly/adjtime
install -D -m644 functions ${DESTDIR}/etc/rc.d/functions || exit 1
for i in network netfs; do
install -D -m755 $i ${DESTDIR}/etc/rc.d/$i || exit 1
done
gcc $CFLAGS -o minilogd minilogd.c || exit 1
install -D -m755 minilogd ${DESTDIR}/sbin/minilogd || exit 1
|