mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
772 B
Bash
Executable file
23 lines
772 B
Bash
Executable file
#!/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
|