From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- config/notes/notes.inc | 99 ++++++++++++++++++++++++++++++++++++++++++ config/notes/notes.xml | 115 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 config/notes/notes.inc create mode 100644 config/notes/notes.xml (limited to 'config/notes') diff --git a/config/notes/notes.inc b/config/notes/notes.inc new file mode 100644 index 00000000..64d8bfd5 --- /dev/null +++ b/config/notes/notes.inc @@ -0,0 +1,99 @@ + "notes.sh", + // "start" => "/usr/local/bin/php /usr/local/pkg/notes.php", + // "stop" => "rm /tmp/phpmonitor.pid" + // ) + //); + + + php_sync_package(); + + + //if (pkg_is_service_running('notes')) { + //documentation purposes + //} + + conf_mount_ro(); + config_unlock(); + +} + + +function deinstall_command() +{ + + conf_mount_rw(); + config_lock(); + unlink_if_exists("/usr/local/pkg/notes.xml"); + unlink_if_exists("/usr/local/pkg/notes.inc"); + conf_mount_ro(); + config_unlock(); + +} + +?> \ No newline at end of file diff --git a/config/notes/notes.xml b/config/notes/notes.xml new file mode 100644 index 00000000..5d2bdf91 --- /dev/null +++ b/config/notes/notes.xml @@ -0,0 +1,115 @@ + + + + + + + + Notes + Describe your package requirements here + Currently there are no FAQ items provided. + Notes + 0.2.3 + Settings + /usr/local/pkg/notes.inc + + Notes + Notes. +
Status
+ notes.xml + /pkg.php?xml=notes.xml +
+ + + Settings + /pkg_edit.php?xml=notes.xml + + + + installedpackages->package->$packagename->configuration->notes + + /usr/local/pkg/ + 0755 + http://www.pfsense.com/packages/config/notes/notes.inc + + + + Title + title + + + Category + category + + + + + Title + title + Enter the title. + input + + + Category + category + Enter a category. + input + + + <b>Notes</b> <br /> <br /> + notes + + textarea + base64 + 30 + 70 + 20 + + + + + + php_sync_package(); + + + php_sync_package(); + + + php_install_command(); + + + deinstall_command(); + +
\ No newline at end of file -- cgit v1.2.3