Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75715

General Programming :: RE: Startup Script Mac OS X

$
0
0
Author: ACagliano
Posted: 19 Nov 2012 04:34:20 pm (GMT -5)

Ok, if I go with the creating of a shell script, is this the proper code?


Code:
!/bin/bash

sudo /opt/local/libexec/portsentry.sh -tcp
sudo /opt/local/libexec/portsentry.sh -udp


Then, I need to do


Code:
sudo sh [file.sh]
sudo chmod +x [file]


Correct?
_________________
-ACagliano

Current Projects

Legend of Zelda. "Ganon's Rage"
51%


Viewing all articles
Browse latest Browse all 75715

Trending Articles