summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/usb_ext/customfiles/etc
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-02-08 10:11:01 +0000
committermakefu <root@pigstarter.de>2013-02-08 10:11:01 +0000
commit194e1622b0b901780ceea40ea9c453c573b69995 (patch)
treedc6a3c82a744733d5ce926759b7d9f0a40473d29 /minikrebs/profiles/usb_ext/customfiles/etc
parent59ccc0fd871c4bbd12066f2f6aacf835a839885d (diff)
parentdd6ad821a5a5bcb633b28a6d35e5e612d1f59094 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'minikrebs/profiles/usb_ext/customfiles/etc')
-rw-r--r--minikrebs/profiles/usb_ext/customfiles/etc/config/fstab19
-rw-r--r--minikrebs/profiles/usb_ext/customfiles/etc/config/network13
-rw-r--r--minikrebs/profiles/usb_ext/customfiles/etc/config/system8
l---------minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys1
-rw-r--r--minikrebs/profiles/usb_ext/customfiles/etc/shadow5
5 files changed, 46 insertions, 0 deletions
diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab b/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab
new file mode 100644
index 00000000..b1e678dc
--- /dev/null
+++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/fstab
@@ -0,0 +1,19 @@
+config global automount
+ option from_fstab 1
+ option anon_mount 1
+
+config global autoswap
+ option from_fstab 1
+ option anon_swap 0
+
+config mount
+ option target /overlay
+ option device /dev/sda1
+ option fstype ext4
+ option options rw,sync
+ option enabled 1
+ option enabled_fsck 0
+
+config swap
+ option device /dev/sda2
+ option enabled 1
diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/network b/minikrebs/profiles/usb_ext/customfiles/etc/config/network
new file mode 100644
index 00000000..e6a96379
--- /dev/null
+++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/network
@@ -0,0 +1,13 @@
+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'
+
+config interface 'wan'
+ option ifname 'wlan0'
+ option proto 'dhcp'
diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/config/system b/minikrebs/profiles/usb_ext/customfiles/etc/config/system
new file mode 100644
index 00000000..3c5a6935
--- /dev/null
+++ b/minikrebs/profiles/usb_ext/customfiles/etc/config/system
@@ -0,0 +1,8 @@
+config system
+ option hostname bare
+ option timezone UTC
+
+config 'led' 'lan_led'
+ option 'name' 'blue-led'
+ option 'sysfs' 'tp-link:blue:system'
+ option 'trigger' 'default-on'
diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys
new file mode 120000
index 00000000..9c87fc52
--- /dev/null
+++ b/minikrebs/profiles/usb_ext/customfiles/etc/dropbear/authorized_keys
@@ -0,0 +1 @@
+/root/.ssh/authorized_keys \ No newline at end of file
diff --git a/minikrebs/profiles/usb_ext/customfiles/etc/shadow b/minikrebs/profiles/usb_ext/customfiles/etc/shadow
new file mode 100644
index 00000000..9cc800dd
--- /dev/null
+++ b/minikrebs/profiles/usb_ext/customfiles/etc/shadow
@@ -0,0 +1,5 @@
+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:::