summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/usb_ext/customfiles/etc
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-02-07 20:23:55 +0100
committermakefu <github@syntax-fehler.de>2013-02-07 20:23:55 +0100
commit12fa3df06555c4ad6973602998a42446fbb52e70 (patch)
tree9543696874cfea86f103f8388a26176c8fe4ea17 /minikrebs/profiles/usb_ext/customfiles/etc
parent8c369def5ba0acbb95212e441b8b31a3ab05f3c8 (diff)
bare profile which enables usb-extroot
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:::