[PATCH 2/2] Add daemon-functions to install.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



---
 install.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/install.sh b/install.sh
index 2b2cbbc..122d4a2 100755
--- a/install.sh
+++ b/install.sh
@@ -14,7 +14,10 @@ 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 functions daemon-functions; do
+    install -D -m644 $i ${DESTDIR}/etc/rc.d/$1 || exit 1
+done
+
 for i in network netfs; do
   install -D -m755 $i ${DESTDIR}/etc/rc.d/$i || exit 1
 done
-- 
1.7.1.1



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux