summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/usb_ext/customfiles/etc/config
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs/profiles/usb_ext/customfiles/etc/config')
-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
3 files changed, 40 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'