SHARE
TWEET

Untitled

a guest Feb 10th, 2014 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. mypath=${0%/*}
  3. THEMECFG="/ezxlocal/download/appwrite/setup/ezx_theme.cfg"
  4. CurrentSkin=`grep "^CurrentSkin = " "$THEMECFG" | sed "s/CurrentSkin = //"`
  5. grid=$CurrentSkin/svg
  6.  
  7. showRadio "ZN5_MenuStyles" "" "1. Backup" "2. Carousel" "3. V-Shaped" "4. Analog" "5. Conveer" "6. Frame" "7. Tablo" "8. Cosmetic" "9. Clock" "10. Cross" "11. Restore" "12. Information"
  8. case "$?" in
  9. 1)
  10. showQ "Backup" "Do you want to execute?" 1
  11. if [ "0" = "$?" ]      
  12. then
  13. exec $mypath/index.sh
  14. fi
  15. cp $grid/grid.svg $mypath/back
  16. showNotify "Completed" "............" 0
  17. ;;
  18. 2)
  19. showQ "Carousel" "Do you want to execute?" 1
  20. if [ "0" = "$?" ]      
  21. then
  22. exec $mypath/index.sh
  23. fi
  24. cp $mypath/one/grid.svg $grid
  25. showNotify "Completed" "\(^o^)/" 0
  26. ;;
  27. 3)
  28. showQ "V-Shaped" "Do you want to execute?" 1
  29. if [ "0" = "$?" ]      
  30. then
  31. exec $mypath/index.sh
  32. fi
  33. cp $mypath/two/grid.svg $grid
  34. showNotify "Completed" "\(^o^)/" 0
  35. ;;
  36. 4)
  37. showQ "Analog" "Do you want to execute?" 1
  38. if [ "0" = "$?" ]      
  39. then
  40. exec $mypath/index.sh
  41. fi
  42. cp $mypath/three/grid.svg $grid
  43. showNotify "Completed" "\(^o^)/" 0
  44. ;;
  45. 5)
  46. showQ "Conveer" "Do you want to execute?" 1
  47. if [ "0" = "$?" ]      
  48. then
  49. exec $mypath/index.sh
  50. fi
  51. cp $mypath/four/grid.svg $grid
  52. showNotify "Completed" "\(^o^)/" 0
  53. ;;
  54. 6)
  55. showQ "Frame" "Do you want to execute?" 1
  56. if [ "0" = "$?" ]      
  57. then
  58. exec $mypath/index.sh
  59. fi
  60. cp $mypath/five/grid.svg $grid
  61. showNotify "Completed" "\(^o^)/" 0
  62. ;;
  63. 7)
  64. showQ "Tablo" "Do you want to execute?" 1
  65. if [ "0" = "$?" ]      
  66. then
  67. exec $mypath/index.sh
  68. fi
  69. cp $mypath/six/grid.svg $grid
  70. showNotify "Completed" "\(^o^)/" 0
  71. ;;
  72. 8)
  73. showQ "Cosmetic" "Do you want to execute?" 1
  74. if [ "0" = "$?" ]      
  75. then
  76. exec $mypath/index.sh
  77. fi
  78. cp $mypath/seven/grid.svg $grid
  79. showNotify "Completed" "\(^o^)/" 0
  80. ;;
  81. 9)
  82. showQ "Clock" "Do you want to execute?" 1
  83. if [ "0" = "$?" ]      
  84. then
  85. exec $mypath/index.sh
  86. fi
  87. cp $mypath/eight/grid.svg $grid
  88. showNotify "Completed" "\(^o^)/" 0
  89. ;;
  90. 10)
  91. showQ "Cross" "Do you want to execute?" 1
  92. if [ "0" = "$?" ]      
  93. then
  94. exec $mypath/index.sh
  95. fi
  96. cp $mypath/nine/grid.svg $grid
  97. showNotify "Completed" "\(^o^)/" 0
  98. ;;
  99. 11)
  100. showQ "Restore" "Do you want to restore?" 1
  101. if [ "0" = "$?" ]      
  102. then
  103. exec $mypath/index.sh
  104. fi
  105. cp  $mypath/back/grid.svg  $grid
  106. showNotify "Completed" ".........." 0
  107. ;;
  108. 12)
  109. showQ "Infomation" "Thanks to JAYDD, vanfec,January,Xmifeng and Tim22r. Port to ZN5 by huatz84.
  110.  
  111. " 2
  112. exec $mypath/index.sh
  113. ;;
  114. *)
  115. exit 0
  116. ;;
  117. esac
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top