diff options
| author | Dirk von Suchodoletz | 2006-05-18 11:43:10 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-05-18 11:43:10 +0200 |
| commit | bbc227c6eee72cf59322e93630b002e1ca141dda (patch) | |
| tree | 25431334383bf7c6c0ee7b5d73db72d3194bfae5 /initrd/distro-specs/suse | |
| parent | Problems with automounter corrected (hopefully), to be checked ... (diff) | |
| download | core-bbc227c6eee72cf59322e93630b002e1ca141dda.tar.gz core-bbc227c6eee72cf59322e93630b002e1ca141dda.tar.xz core-bbc227c6eee72cf59322e93630b002e1ca141dda.zip | |
Forgot to add automounter to other distros too (at least stub) ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@216 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/suse')
| -rw-r--r-- | initrd/distro-specs/suse/functions-9.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index 9955634c..67106f6e 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -425,6 +425,8 @@ if [ -f /mnt/etc/${D_SYSCONFDIR}/autofs ] ; then # remove leading and trailing slash automnt_dir=${automnt_dir#/} automnt_dir=${automnt_dir%/} + test -d ${automnt_dir} || error "df_erradir" + strinstr "/" ${automnt_dir} || error "df_erratpld" echo -e "/${automnt_dir}\t/etc/auto.${automnt_dir}\n" \ >> /mnt/etc/auto.master echo -e "# /etc/auto.${automnt_dir} created by $0:\n" \ |
