summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/instacam_yuv
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-02-26 12:18:52 +0000
committermakefu <root@pigstarter.de>2013-02-26 12:18:52 +0000
commitef4eb3189363f5cd9a33b43693322a68d3142979 (patch)
tree683df8268baae71451633518aa7ff7ea258a4aa8 /minikrebs/profiles/instacam_yuv
parente2369060a397e8dad82a2dfcc63c81df1e08a983 (diff)
parent001bfd5f2b6890cafd209de4ea360927d4dd8a55 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Conflicts: minikrebs
Diffstat (limited to 'minikrebs/profiles/instacam_yuv')
-rwxr-xr-xminikrebs/profiles/instacam_yuv/custom_make3
-rw-r--r--minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer7
-rw-r--r--minikrebs/profiles/instacam_yuv/customfiles/etc/config/network9
l---------minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer58
-rw-r--r--minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local1
-rw-r--r--minikrebs/profiles/instacam_yuv/customfiles/etc/shadow5
-rw-r--r--minikrebs/profiles/instacam_yuv/doc/README.md5
8 files changed, 0 insertions, 89 deletions
diff --git a/minikrebs/profiles/instacam_yuv/custom_make b/minikrebs/profiles/instacam_yuv/custom_make
deleted file mode 100755
index c1750da4..00000000
--- a/minikrebs/profiles/instacam_yuv/custom_make
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-make image PROFILE=TLWR703 PACKAGES="ip kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-uvc mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd " FILES=customfiles/
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer
deleted file mode 100644
index 6feb6165..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/mjpg-streamer
+++ /dev/null
@@ -1,7 +0,0 @@
-config mjpg-streamer core
- option enabled "1"
- option device "/dev/video0"
- option resolution "640x480"
- option fps "10"
- option www "/www/webcam"
- option port "80"
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network b/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network
deleted file mode 100644
index c459c4e0..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/config/network
+++ /dev/null
@@ -1,9 +0,0 @@
-config interface 'loopback'
- option ifname 'lo'
- option proto 'static'
- option ipaddr '127.0.0.1'
- option netmask '255.0.0.0'
-
-config interface 'lan'
- option ifname 'eth0'
- option proto 'dhcp'
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys
deleted file mode 120000
index 9c87fc52..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/dropbear/authorized_keys
+++ /dev/null
@@ -1 +0,0 @@
-/root/.ssh/authorized_keys \ No newline at end of file
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer b/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer
deleted file mode 100644
index aef12489..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/init.d/mjpeg-streamer
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2009-2012 OpenWrt.org
-
-START=50
-
-SERVICE_DAEMONIZE=1
-SERVICE_WRITE_PID=1
-
-PROG=/usr/bin/mjpg_streamer
-
-error() {
- echo "${initscript}:" "$@" 1>&2
-}
-
-section_enabled() {
- config_get_bool enabled "$1" 'enabled' 0
- [ $enabled -gt 0 ]
-}
-
-start_instance() {
- local s="$1"
-
- section_enabled "$s" || return 1
-
- config_get device "$s" 'device'
- config_get resolution "$s" 'resolution'
- config_get fps "$s" 'fps'
- config_get www "$s" 'www'
- config_get port "$s" 'port'
-
- [ -c "$device" ] || {
- error "device '$device' does not exist"
- return 1
- }
-
- # run in yuv (legacy) mode, impacts performance but at least something is happening
- service_start /usr/bin/mjpg_streamer --input "input_uvc.so \
- --device $device --fps $fps --resolution $resolution -yuv" \
- --output "output_http.so --www $www --port $port"
-}
-
-stop_instance() {
- local s="$1"
-
- section_enabled "$s" || return 1
-
- service_stop /usr/bin/mjpg_streamer
-}
-
-start() {
- config_load 'mjpg-streamer'
- config_foreach start_instance 'mjpg-streamer'
-}
-
-stop() {
- config_load 'mjpg-streamer'
- config_foreach stop_instance 'mjpg-streamer'
-}
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local b/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local
deleted file mode 100644
index 3e91b57c..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/rc.local
+++ /dev/null
@@ -1 +0,0 @@
-insmod uvcvideo
diff --git a/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow b/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow
deleted file mode 100644
index 9cc800dd..00000000
--- a/minikrebs/profiles/instacam_yuv/customfiles/etc/shadow
+++ /dev/null
@@ -1,5 +0,0 @@
-root:$1$WFDw.yoc$MuPQ4h/nu3WMpHmte5Yrp/:15719:0:99999:7:::
-daemon:*:0:0:99999:7:::
-ftp:*:0:0:99999:7:::
-network:*:0:0:99999:7:::
-nobody:*:0:0:99999:7:::
diff --git a/minikrebs/profiles/instacam_yuv/doc/README.md b/minikrebs/profiles/instacam_yuv/doc/README.md
deleted file mode 100644
index 63b3a5a2..00000000
--- a/minikrebs/profiles/instacam_yuv/doc/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Instacam China
-
-Support for a cheapo webcam which supports only yuv mode on a low resolution.
-
-Copy-paste fork of instacam