aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-19 17:51:01 +0100
committerficus <ficus@robocracy.org>2012-11-19 17:51:01 +0100
commit44b022acd516c9c1271f0c19f571a4704cf0f2fe (patch)
treee1d9f9c078a0ac6d0afe4ca5172514ba59273d1c
parenta550a973015769cbf3f7fcb6ce8f875ad96f6250 (diff)
downloadtorouter-live-44b022acd516c9c1271f0c19f571a4704cf0f2fe.tar.gz
torouter-live-44b022acd516c9c1271f0c19f571a4704cf0f2fe.zip
add boot-time helpers (change root pw, run dhclient on eth0
-rwxr-xr-xconfig/includes.chroot/lib/live/config/2001-root_pw4
-rwxr-xr-xconfig/includes.chroot/lib/live/config/2002-dhclient4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/includes.chroot/lib/live/config/2001-root_pw b/config/includes.chroot/lib/live/config/2001-root_pw
new file mode 100755
index 0000000..c3d05c5
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/2001-root_pw
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo " root passwd"
+echo "root:crud" | chpasswd
diff --git a/config/includes.chroot/lib/live/config/2002-dhclient b/config/includes.chroot/lib/live/config/2002-dhclient
new file mode 100755
index 0000000..e644874
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/2002-dhclient
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo " dhclient eth0"
+dhclient eth0