瀏覽代碼

Update ubuntu.sh

tteckster 3 年之前
父節點
當前提交
fd5e8a5540
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      ct/ubuntu.sh

+ 12 - 0
ct/ubuntu.sh

@@ -27,6 +27,18 @@ ${CL}"
 }
 
 header_info
+show_menu(){
+    printf "    ${YW} 1)${YW} Privileged ${CL}\n"
+    printf "    ${YW} 2)${GN} Unprivileged ${CL}\n"
+
+    printf "Please choose a Install Method and hit enter or ${RD}x${CL} to exit."
+    read opt
+}
+
+option_picked(){
+    message1=${@:-"${CL}Error: No message passed"}
+    printf " ${YW}${message1}${CL}\n"
+}
 show_menu
 while [ $opt != '' ]
     do