[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Rename "setupShellEnvironment" to "setupSshd". That's all it does.



Function names should be truthful, I think.  It just makes everything
easier.
---
 scripts/mk-images |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index bf6e115..998c30f 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -405,7 +405,7 @@ instbin() {
     fi
 }
 
-setupShellEnvironment() {
+setupSshd() {
     cp -f $IMGPATH/etc/protocols $MBD_DIR/etc/protocols
     echo "sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin" \
     	>> $MBD_DIR/etc/passwd
@@ -834,7 +834,7 @@ makeinitrd() {
     mkdir -p $MBD_DIR/var/lib
     ln -s ../../tmp $MBD_DIR/var/lib/xkb
 
-    setupShellEnvironment
+    setupSshd
 
 cat > $MBD_DIR/.profile <<EOF
 PS1="[anaconda \u \h \W]\\\\$ "
-- 
1.6.5.rc2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]