Set permissions in install script.
This commit is contained in:
parent
59364271ce
commit
f61e711f72
1
Makefile
1
Makefile
|
|
@ -58,7 +58,6 @@ doc:
|
|||
cleandoc:
|
||||
@rm -rf doc
|
||||
|
||||
|
||||
install:
|
||||
@./install.sh $(KERNEL) $(DEVICEINDEX)
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ fi
|
|||
|
||||
echo " installing startup script..."
|
||||
cp ethercat.sh /etc/init.d/ethercat || exit 1
|
||||
chmod +x /etc/init.d/ethercat || exit 1
|
||||
if [ ! -L /usr/sbin/rcethercat ]; then
|
||||
ln -s /etc/init.d/ethercat /usr/sbin/rcethercat || exit 1
|
||||
fi
|
||||
|
|
@ -84,6 +85,7 @@ fi
|
|||
|
||||
echo " installing tools..."
|
||||
cp tools/ec_list.pl /usr/local/bin/ec_list || exit 1
|
||||
chmod +x /usr/local/bin/ec_list || exit 1
|
||||
|
||||
# Finish
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue