summaryrefslogtreecommitdiff
path: root/protostar
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-14 22:27:19 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-04-14 22:27:19 +0000
commitb1781a5da105b8566e49c686ae0fb23be18eab94 (patch)
tree006fcf1b1ca1c3d7e1b19ca596dca90a172c3185 /protostar
parent04a8434a6186b5f52f23d5e6ebeff2aea83e94bf (diff)
downloadlive-b1781a5da105b8566e49c686ae0fb23be18eab94.tar.gz
Automatically configure network
Diffstat (limited to 'protostar')
-rwxr-xr-xprotostar6
1 files changed, 5 insertions, 1 deletions
diff --git a/protostar b/protostar
index 5153665..042042a 100755
--- a/protostar
+++ b/protostar
@@ -93,6 +93,9 @@ echo 'User: root, password: root' >> "${ROOT}/etc/issue"
sed "s/##USR_IMG##/$USR_IMG/g" "fs-root" > "${ROOT}/lib/svc/method/fs-root"
chmod +x "${ROOT}/lib/svc/method/fs-root"
+cat net-physical > "${ROOT}/lib/svc/method/net-physical"
+chmod +x "${ROOT}/lib/svc/method/net-physical"
+
dummy_prog='#!/sbin/sh
exit 0
'
@@ -151,13 +154,14 @@ ln -sf ../../sbin usr/sbin
# and creating symlinks from usr to usr1
usr_symlink_move usr/bin/cat
usr_symlink_move usr/bin/dash
+usr_symlink_move usr/bin/grep
usr_symlink_move usr/bin/ln
usr_symlink_move usr/bin/ls
usr_symlink_move usr/bin/rm
usr_symlink_move usr/bin/sh
usr_symlink_move usr/lib/devfsadm
-usr_symlink_move usr/lib/fs/ufs/mount
usr_symlink_move usr/lib/fs/hsfs/mount
+usr_symlink_move usr/lib/fs/ufs/mount
# usr2 will be packed and stored on CD:
mv usr usr2