dhcp-script=/etc/detect_new_device.sh
Reference:
//Found on: https://stackoverflow.com/questions/15725814/upload-an-image-from-camera-or-gallery-in-webview | |
private ValueCallback<Uri> mUploadMessage; | |
private Uri mCapturedImageURI = null; | |
private ValueCallback<Uri[]> mFilePathCallback; | |
private String mCameraPhotoPath; | |
private static final int INPUT_FILE_REQUEST_CODE = 1; | |
private static final int FILECHOOSER_RESULTCODE = 1; | |
uci set dhcp.lan.start=200 | |
uci set dhcp.lan.limit=54 | |
uci set dhcp.@dnsmasq[0].domain=xvx.cz | |
uci set dhcp.@dnsmasq[0].leasefile=/etc/dnsmasq-dhcp.leases | |
#Send email for new connections: | |
echo "dhcp-script=/etc/dnsmasq-script.sh" >> /etc/dnsmasq.conf | |
cat > /etc/dnsmasq-script.sh << \EOF |
dhcp-script=/etc/detect_new_device.sh
Reference:
opkg install kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage e2fsprogs fdisk usbutils mount-utils block-mount kmod-fs-ext4 kmod-fs-vfat kmod-nls-utf-8 kmod-nls-cp437 kmod-nls-iso8859-1
reboot
blkid
, run opkg update && opkg install blkid
;block.sh
to directory /lib/functions
;10-mount
and 20-swap
to directory /etc/hotplug.d/block
;logread -f
command then plug in a USB stick to test.<?php | |
# PHP FCGI to Extend NGINX WebDAV | |
# Written by Jason LaPorte ([email protected]) | |
# | |
# Copyright (C) 2009 Agora Games, Inc. | |
# | |
# This software is provided 'as-is', without any express or implied warranty. | |
# In no event will the authors be held liable for any damages arising from the | |
# use of this software. |