summaryrefslogtreecommitdiffstats
path: root/install/base
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-16 02:14:51 +0100
committerDave Reisner <dreisner@archlinux.org>2011-11-29 11:56:41 +0100
commit1021e6ef1a21dc9b5cbbc238fd2e94db8789ea0d (patch)
treed9b6672f8c3f6f3e3d935404af5d1223cd3756f4 /install/base
parent79d406e5d4bba7cd056cf34e39cdfeac6e75c5de (diff)
downloadmkinitcpio-1021e6ef1a21dc9b5cbbc238fd2e94db8789ea0d.tar.gz
mkinitcpio-1021e6ef1a21dc9b5cbbc238fd2e94db8789ea0d.tar.xz
hooks/net: Refactor and remove sed cmd usage.
* ipconfig cmd writes a file in /tmp that is ready for direct evaluation. We can use this instead of parsing the output, to do this some variable renames are needed. * Add /tmp as part of "base" layout since this can be used by others hooks/cmds. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'install/base')
-rw-r--r--install/base2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/base b/install/base
index 0726fa2..db9752e 100644
--- a/install/base
+++ b/install/base
@@ -1,7 +1,7 @@
#!/bin/bash
build() {
- for dir in new_root proc sys dev run usr/{bin,sbin}; do
+ for dir in new_root proc sys dev run tmp usr/{bin,sbin}; do
add_dir "/$dir"
done