mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 02:53:49 +01:00
Added symlink to d3dapi
This commit is contained in:
parent
d3d8ebdeda
commit
205fc7460d
1
Makefile
1
Makefile
@ -122,6 +122,7 @@ define Package/wifibox/install
|
||||
$(INSTALL_BIN) $(WIFIBOX_BASE_DIR)/script/wifibox_init $(1)/etc/init.d/wifibox
|
||||
$(INSTALL_BIN) $(WIFIBOX_BASE_DIR)/script/dhcpcheck_init $(1)/etc/init.d/dhcpcheck
|
||||
$(INSTALL_BIN) $(WIFIBOX_BASE_DIR)/script/d3dapi $(1)/$(TGT_LUA_DIR_SUFFIX)/script
|
||||
$(LN) -s /$(TGT_LUA_DIR_SUFFIX)/script/d3dapi $(1)/bin/d3dapi
|
||||
$(INSTALL_BIN) $(WIFIBOX_BASE_DIR)/script/signin.sh $(1)/$(TGT_LUA_DIR_SUFFIX)/script
|
||||
$(CP) $(WIFIBOX_BASE_DIR)/script/logrotate-wifibox.conf $(1)/etc/logrotate.d/wifibox.conf
|
||||
|
||||
|
@ -55,7 +55,6 @@ if [ $? -gt 0 ]; then
|
||||
cat <<-\EOM >> $IPKG_INSTROOT/root/.profile
|
||||
# DO NOT MODIFY - this block of lines has been added by the wifibox package.
|
||||
alias d='ls -la'
|
||||
alias d3dapi='/usr/share/lua/wifibox/script/d3dapi'
|
||||
alias encore='ulimit -c unlimited'
|
||||
alias wopkg='opkg -f /usr/share/lua/wifibox/opkg.conf'
|
||||
|
||||
|
@ -8,5 +8,5 @@ logger "$BUTTON pressed for $SEEN seconds"
|
||||
if [ "$SEEN" -gt 4 ]
|
||||
then
|
||||
logger "Resetting Wireless"
|
||||
/usr/share/lua/wifibox/script/d3dapi p=/network/reset r=POST
|
||||
d3dapi p=/network/reset r=POST
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user