Rev 4357 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4357 | Rev 8858 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | echo $0: Please run this script as root! |
17 | echo $0: Please run this script as root! |
18 | echo |
18 | echo |
19 | exit |
19 | exit |
20 | fi |
20 | fi |
21 | 21 | ||
- | 22 | chk=`uname | grep BSD | tr -d '[:blank:]' | wc -c` |
|
- | 23 | if [ $chk -gt 0 ] ; then |
|
- | 24 | # for the happy few using NetBSD,OpenBSD,FreeBSD etc etc |
|
- | 25 | chown root:wheel public_html/bin/ch..root |
|
- | 26 | else |
|
22 | chown root:root public_html/bin/ch..root |
27 | chown root:root public_html/bin/ch..root |
- | 28 | fi |
|
23 | chmod 6755 public_html/bin/ch..root |
29 | chmod 6755 public_html/bin/ch..root |