diff options
author | Thomas Bächler <thomas@archlinux.org> | 2007-05-12 19:10:00 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2007-05-12 19:10:00 +0200 |
commit | 6e3bc94f2d9a8f5823aeac9bce5418caf2a1d2b8 (patch) | |
tree | 94ecae80ccb3de7ec1307f21ea622656289eca1f /functions | |
parent | 42d5e5df66eac7d9d8db1a091535878f6307675d (diff) | |
download | mkinitcpio-6e3bc94f2d9a8f5823aeac9bce5418caf2a1d2b8.tar.gz mkinitcpio-6e3bc94f2d9a8f5823aeac9bce5418caf2a1d2b8.tar.xz |
- adjusted all hooks for new modprobe path
- added compatibility symlink /bin/modprobe
- 0.5.14 release
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@206 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -79,6 +79,7 @@ add_device () fi } +# what the hell does this do? add_symlink () { local fil dest dir @@ -95,6 +96,16 @@ add_symlink () #fail quietly } +add_symlink2 () +{ + add_dir $(dirname ${1}) + add_dir $(dirname ${2}) + if ! grep -q "slink ${1} " "${FILELIST}" 2>&1 >/dev/null; then + msg " adding link ${1} -> ${2}" + echo "slink ${1} ${2} 777 0 0" >> "${FILELIST}" + fi +} + add_file () { local fil lnk dir dest |