Commit 4c9b635b authored by Benoit Rat's avatar Benoit Rat

sw: install: add S70apts to /etc/init.d

parent 95add551
......@@ -23,6 +23,8 @@ if [ -d ${NFSROOT} ]; then
rm ${NFSROOT}/alpha-pts/*.sh &> /dev/null
rm ${NFSROOT}/alpha-pts/bin/* &> /dev/null
cp -Rvf ${SCRIPTDIR}/alpha-pts/ ${NFSROOT}/
echo ""
cp -v ${SCRIPTDIR}/S70apts ${NFSROOT}/etc/init.d/
exit 0
else
......@@ -66,8 +68,11 @@ else
chown -R root:root $TMPFS/etc/dropbear
##Test Anchor
cp -r $(dirname $0)/alpha-pts/ $TMPFS/alpha-pts
cp -r $(dirname $0)/S59apts $TMPFS/etc/init.d/
mkdir -p ${NFSROOT}/alpha-pts/
rm ${NFSROOT}/alpha-pts/*.sh &> /dev/null
rm ${NFSROOT}/alpha-pts/bin/* &> /dev/null
cp -Rvf ${SCRIPTDIR}/alpha-pts/ ${NFSROOT}/
cp ${NFSROOT}/S70apts ${NFSROOT}/etc/init.d/
(cd "$TMPFS" && find . | cpio -o -H newc | gzip) > $ROOTFS_IMAGE_CPIO
(cd "$TMPFS" && tar cz .> $ROOTFS_IMAGE_TGZ)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment