From 27940c420f01f550f36c3aa25633b43a4f2a2069 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 3 Feb 2012 11:13:37 -0300 Subject: [archiso] Misc style cleanups * Add #!/bin/bash to install hooks and fixed vimlines. * Removed empty variables. * Reorder variables, adjust brace/parens in functions. * Removed things implemented in base hook (/tmp, /etc/fstab). Signed-off-by: Gerardo Exequiel Pozzi --- archiso/install/archiso_pxe_nfs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archiso/install/archiso_pxe_nfs') diff --git a/archiso/install/archiso_pxe_nfs b/archiso/install/archiso_pxe_nfs index 52be9f3..f7b6f5d 100644 --- a/archiso/install/archiso_pxe_nfs +++ b/archiso/install/archiso_pxe_nfs @@ -1,10 +1,10 @@ -# vim: set ft=sh: +#!/bin/bash build() { MODULES="nfs" SCRIPT="archiso_pxe_nfs" - add_binary "/lib/initcpio/nfsmount" "/bin/nfsmount" + add_binary /lib/initcpio/nfsmount /bin/nfsmount } help() { @@ -12,3 +12,5 @@ help() { This hook loads the necessary modules for boot via PXE and NFS. HELPEOF } + +# vim: set ft=sh ts=4 sw=4 et: -- cgit v1.2.3-54-g00ecf