From 867d77d72852e068a6a113467506e61d33a403a0 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 7 Jan 2013 02:37:03 +0700 Subject: camkrebs: update --- minikrebs/profiles/camkrebs/custom_make | 0 minikrebs/profiles/camkrebs/customfiles/etc/config/mjpg-streamer | 2 +- minikrebs/profiles/camkrebs/customfiles/etc/dropbear/authorized_keys | 1 + minikrebs/profiles/krebs/customfiles/usr/bin/genhostid | 4 +--- 4 files changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 minikrebs/profiles/camkrebs/custom_make create mode 120000 minikrebs/profiles/camkrebs/customfiles/etc/dropbear/authorized_keys (limited to 'minikrebs/profiles') diff --git a/minikrebs/profiles/camkrebs/custom_make b/minikrebs/profiles/camkrebs/custom_make old mode 100644 new mode 100755 diff --git a/minikrebs/profiles/camkrebs/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/camkrebs/customfiles/etc/config/mjpg-streamer index bb4f81ec..4213b0b2 100644 --- a/minikrebs/profiles/camkrebs/customfiles/etc/config/mjpg-streamer +++ b/minikrebs/profiles/camkrebs/customfiles/etc/config/mjpg-streamer @@ -2,6 +2,6 @@ config mjpg-streamer core option enabled "1" option device "/dev/video0" option resolution "1280x1024" - option fps "5" + option fps "15" option www "/www/webcam" option port "80" diff --git a/minikrebs/profiles/camkrebs/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/camkrebs/customfiles/etc/dropbear/authorized_keys new file mode 120000 index 00000000..9c87fc52 --- /dev/null +++ b/minikrebs/profiles/camkrebs/customfiles/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +/root/.ssh/authorized_keys \ No newline at end of file diff --git a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid index e6010471..463e04b7 100755 --- a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid +++ b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid @@ -1,4 +1,2 @@ #!/bin/sh -if [ ! -e /etc/hostid ];then - dd if=/dev/urandom bs=1 count=4 | hexdump -e '8 "%x"' > /etc/hostid -fi +dd if=/dev/urandom bs=1 count=4> /etc/hostid -- cgit v1.2.3