⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 netgo

📁 Linux/Windows 环境下跨平台程序
💻
字号:
#! /bin/bash## This is a small bash-script that executes netGo with root-privileges.# Either with "kdesu" (if available) or the "su -c"-method.## Check if we allready are root.if [ `id -u` = "0" ] then	/usr/netgo/netgo-bin $1else 	# Check if the user wants to execute from command line.	if [ "$1" != "" ]	then		echo "Please enter your root-password to be able to execute the profile."		su -c "/usr/netgo/netgo-bin $1"	else		# Exec a command that searches for "kdesu" in the path.		which kdesu > /dev/null 2>&1		# If the exit-status is 1 - kdesu is not in the path.		if [ $? = "1" ]; then			xhost +localhost			echo "Please enter your root-password to be able to use this program for changing your network-settings."			su -c "/usr/netgo/netgo-bin $1"		else			kdesu "/usr/netgo/netgo-bin $1"		fi	fifi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -