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 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 config/notes/notes.inc (limited to 'config/notes/notes.inc') 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 -- cgit v1.2.3