This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
######################################################################### | ||
# File Name: install.sh | ||
# Author: ########## | ||
# ############### | ||
# mail: ################# | ||
# Created Time: Sat 21 May 2016 02:18:25 PM CST | ||
######################################################################### | ||
#!/bin/bash | ||
|
||
mkdir /usr/local/neuipgw | ||
cp ./ipgw.sh /usr/local/neuipgw/ipgw.sh | ||
cp ./user.cfg /usr/local/neuipgw/user.cfg | ||
cp ./ipgw.png /usr/local/neuipgw/ipgw.png | ||
|
||
echo [Desktop Entry]>/usr/share/applications/neuipgw.desktop | ||
echo Name=NEU-IPGW>>/usr/share/applications/neuipgw.desktop | ||
echo Comment=Speedier Internet Access>>/usr/share/applications/neuipgw.desktop | ||
echo Exec=sh /usr/local/neuipgw/ipgw.sh>>/usr/share/applications/neuipgw.desktop | ||
echo Icon=/usr/local/neuipgw/ipgw.png>>/usr/share/applications/neuipgw.desktop | ||
echo Terminal=true>>/usr/share/applications/neuipgw.desktop | ||
echo Type=Application>>/usr/share/applications/neuipgw.desktop | ||
echo Categories=Application>>/usr/share/applications/neuipgw.desktop |