Commit Graph

195 Commits

Author SHA1 Message Date
jim-p
1fd3903e2d Fix typos 2014-09-17 13:32:45 -04:00
jim-p
c07e853bb4 Add a basic command line password reset script. 2014-09-17 12:29:03 -04:00
Ermal
4881e5a999 Remove racoon references 2014-09-10 19:33:56 +02:00
Renato Botelho
971de1f98a Convert almost all /sbin/sysctl calls to php functions 2014-07-07 20:06:37 -03:00
jim-p
7c8f371107 More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition. 2014-07-02 12:07:33 -04:00
Renato Botelho
edb4b65732 Fix #3647 and other improvements:
- Remove auto_login(), now gettytab is a constant file
- Add reload_ttys(), that will send a SIGHUP to init and make it reload
  /etc/ttys
- Change serial speed on /etc/ttys when necessary
- Change console and serial auto_login on /etc/ttys when necessary
- Change default type from cons25 to xterm
2014-07-01 13:37:42 -03:00
Renato Botelho
828da37032 cf/ dir is removed below, do not need to remove the file here 2014-06-13 16:13:12 -03:00
Renato Botelho
dc86f24d72 Fix path for trigger_initial_wizard 2014-06-13 16:08:15 -03:00
Ermal
e61f548f2c Get rid of embedded platform. Its time to GC this 2014-04-14 13:06:28 +00:00
Marcello Coutinho
da1d016527 fix git path calls and CODIR
it may need some checks/fixes on pkg-utils.inc as git downloads but not installs.

After manual pbi install of git, "pfSsh.php playback gitsync master" works fine with this fix.
2014-04-09 17:53:13 -03:00
jim-p
7cbfc26544 Add a "status" subcommand to the svc php shell script. 2013-12-26 15:47:23 -05:00
Ermal
08b64f7914 Use events to start sshd rather than relying on forking 2013-12-15 21:15:46 +00:00
Ermal
4aea91d808 Switch to php-fpm for lighty and check_reload_status will use it. Step by step will migrate the other calls 2013-12-14 19:20:55 +00:00
Ermal
7238e0cfc8 Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code 2013-11-28 18:36:18 +00:00
jim-p
f6339216b7 s/require/require_once/g for filter.inc to avoid redeclaration errors in some rare cases. 2013-08-28 13:54:30 -04:00
Chris Buechler
6134dcf51e fixup gitsync for 2.1/2.2 2013-05-22 19:27:22 -05:00
jim-p
ab1cf45537 Add PHP shell playback script to control services from the command line (works like Status > Services) 2013-03-22 14:05:26 -04:00
Chris Buechler
d5280de64d update github repo location 2013-03-10 20:44:39 -05:00
jim-p
375136d94f Add a pfSsh.php script to remove the shaper settings from the console if needed. 2013-02-26 16:43:54 -05:00
jim-p
c3ebb2f867 Try to use our git PBI instead of the tbz version. 2013-02-19 10:48:31 -05:00
jim-p
5823264a93 Add some PHP shell scripts for managing packages from the CLI.
pfSsh.php playback installpkg git
pfSsh.php playback uninstallpkg git
pfSsh.php playback listpkg
2013-02-19 10:36:12 -05:00
jim-p
c6e83f5e6d Add php shell scripts to (en|dis)able carp. 2013-02-15 10:17:18 -05:00
jim-p
1d949f5059 Add a few required things here to allow the script to work 2012-10-16 12:56:10 -04:00
Erik Fonnesbeck
00c0720a59 gitsync: Improve parameter handling to allow hyphenated options anywhere in the parameter list. (previously only allowed them at the end) 2012-09-17 10:33:13 -06:00
Erik Fonnesbeck
147b2be1c2 gitsync: Add --minimal parameter that installs only the updated files. 2012-09-17 07:47:01 -06:00
Erik Fonnesbeck
c578fb0fc6 Fix special build_commit tag that was broken from previous change to how it read the file with the commit ID. 2012-09-17 06:33:24 -06:00
Erik Fonnesbeck
612f519852 Modify the tar parameters to exclude .git 2012-05-20 17:52:38 -06:00
Erik Fonnesbeck
ae26412f3d Move git package name/URL to the configuration variables section. 2012-05-15 13:26:38 -06:00
Erik Fonnesbeck
26b8990538 Move some constants in gitsync closer to the top of the source code and add some new ones of potential interest to those reconfiguring gitsync. Also modify messages to indicate that Git URLs are also allowed. 2012-04-07 16:20:58 -06:00
Erik Fonnesbeck
feef287ead Remove obsolete files after gitsync 2012-02-28 14:45:15 -07:00
Erik Fonnesbeck
2044cb61fc Allow specifying the branch name after the repository URL for gitsync command-line arguments and remove an unnecessary use of the backtick operator. 2012-02-28 12:22:18 -07:00
Chris Buechler
459bb026f6 correct branches in gitsync 2012-02-04 00:53:34 -05:00
Chris Buechler
b901ea5724 add a shortcut to disable referer check 2012-01-05 19:55:41 -05:00
jim-p
41fa9c9743 Extend this script to also add an ipv6 rule. 2011-07-19 11:30:42 -04:00
jim-p
aab2a3f6df Update default gitsync url to be the github URL. If anyone had done a gitsync before to the standard URL, they'll need to either rm /root/pfsense/ or cd /root/pfsense/pfSenseGITREPO/pfSenseGITREPO; git remote set-url origin git://github.com/bsdperimeter/pfsense.git; and then gitsync again. 2011-05-16 16:57:02 -04:00
jim-p
153e3cb5ab Declare $g a global here. 2011-02-26 11:40:32 -05:00
jim-p
73d885d7c4 Ensure the pkg staging area exists on nanobsd before trying to use it. 2011-02-26 11:34:19 -05:00
jim-p
9011a843e8 If we're on nanobsd, pass -t to pkg_add to specify a different "staging area" path. 2011-02-24 10:37:58 -05:00
jim-p
003d1b3dab And one more place for PKG_TMPDIR... just in case. 2011-02-23 14:09:39 -05:00
Scott Ullrich
96920d07ad Restart lighty captive portal after sync 2011-01-25 15:20:08 -05:00
Scott Ullrich
84cf0b3ebf Use exec() 2010-11-28 19:55:35 -05:00
Scott Ullrich
690d24af8c Add pfSsh.php externalconfiglocator playback script 2010-11-28 19:04:34 -05:00
Erik Fonnesbeck
f0ce6758e8 Add option to System: Firmware: Settings for running gitsync after installing an update, hidden/disabled if git has not been installed yet. 2010-11-10 03:03:00 -07:00
Ermal
fbd5fc52a7 Bring gitsync to the new check_reload_status behaviour. 2010-09-22 15:27:31 +00:00
Erik Fonnesbeck
97e6256f4d Add support for an automatic merge list to gitsync, properly escape user-supplied parameters, and improve error handling a bit. 2010-09-16 02:40:17 -06:00
Chris Buechler
1f1fc944bc fix text 2010-08-13 13:02:18 -04:00
Erik Fonnesbeck
fb95b3244a Allow specifying other branches when using the existing repository URL in gitsync after the branches have been downloaded for the first time. 2010-08-05 00:50:43 -06:00
Erik Fonnesbeck
5624039060 Some minor fixes for gitsync. Don't create these unused directories, and make sure the file system is returned to the read-only state on NanoBSD. 2010-08-04 23:59:42 -06:00
Erik Fonnesbeck
43141617a3 Combine checkout logic for cloning and updating in gitsync and fix a condition showing an error message on the initial cloning. 2010-07-09 23:52:53 -06:00
Renato Botelho
3ffa831888 First steps for 3g serviceproviders support
o Move xml2array from rrd.inc to pfsense-utils.inc because it'll be used
  on non-rrd related places
o Add necessary require_once() calls to pfsense-utils.inc on places that
  are calling xml2array()
o Add serviceproviders.xml, obtained from [1]
o Add ISO xml with country codes and names, obtained from [2]

[1] http://git.gnome.org/browse/mobile-broadband-provider-info/
[2] http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
2010-06-02 08:30:29 -03:00