kadischi/post_install_scripts 07accounts.sh,1.4,1.5

Jasper O'neal Hartline (autopsy) fedora-extras-commits at redhat.com
Wed Jun 21 16:54:01 UTC 2006


Author: autopsy

Update of /cvs/devel/kadischi/post_install_scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24067/kadischi/post_install_scripts

Modified Files:
	07accounts.sh 
Log Message:
Minor change in dialogs 07accounts.sh


Index: 07accounts.sh
===================================================================
RCS file: /cvs/devel/kadischi/post_install_scripts/07accounts.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- 07accounts.sh	21 Jun 2006 15:51:37 -0000	1.4
+++ 07accounts.sh	21 Jun 2006 16:53:59 -0000	1.5
@@ -19,7 +19,7 @@
       /usr/bin/dialog --title "Kadischi User Accounts Configuration" --begin 10 35 --yesno "A non-root user account should be created, create one now?" 5 65
       if [ $? -eq "0" ]; then
          /usr/bin/dialog --title "Kadischi User Accounts Configuration" --begin 10 35 --inputbox "Account Username:" 10 65 2>$SYSDIR/.accounts.name
-         /usr/bin/dialog --title "Kadischi User Accounts Configuration" --begin 10 35 --inputbox "Account Shell: " 10 65 2>$SYSDIR/.accounts.shell
+         /usr/bin/dialog --title "Kadischi User Accounts Configuration" --begin 10 35 --aspect 12 --radiolist "Account Shell:" 0 0 0 /bin/bash "Bourne Again Shell" on /usr/bin/ksh "Korn Shell" off /bin/csh "C Shell" off /bin/tcsh "THe C Shell" off /bin/zsh "The Z Shell" off 2>$SYSDIR/.accounts.shell
          NEWUSERNAME=$(/bin/cat $SYSDIR/.accounts.name)
          NEWSHELL=$(/bin/cat $SYSDIR/.accounts.shell)
          if [ -n $NEWUSERNAME ] && [ -n $NEWSHELL ]; then
@@ -27,7 +27,7 @@
             /usr/sbin/chroot $SYSDIR /usr/bin/passwd $NEWUSERNAME
             /usr/sbin/chroot $SYSDIR /bin/rm -rf {.accounts.name,.accounts.shell}
          else
-            /usr/bin/dialog --title "User Accounts Configuration" --begin 10 35 --msgbox "Username or Shell not specified, exiting!"
+            /usr/bin/dialog --title "Kadischi User Accounts Configuration" --begin 10 35 --msgbox "Username or Shell not specified, exiting!" 5 65
          fi
        else
           exit 0




More information about the fedora-extras-commits mailing list