From a12de5b5a71549a7c978b9f1f11ca354a631884b Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 09:48:10 +0200 Subject: Remove useless remount calls and phpservice_deinstall_command() All of these are dealt with by uninstall_package() and from pkg-utils.inc. --- config/phpservice/phpservice.inc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'config/phpservice/phpservice.inc') diff --git a/config/phpservice/phpservice.inc b/config/phpservice/phpservice.inc index cffdb09f..d04e021a 100644 --- a/config/phpservice/phpservice.inc +++ b/config/phpservice/phpservice.inc @@ -104,7 +104,6 @@ EOF; } function phpservice_install_command() { - conf_mount_rw(); write_rcfile(array( "file" => "phpservice.sh", "start" => "/usr/local/bin/php /usr/local/pkg/phpservice.php >> /var/log/phpservice.log &", @@ -112,15 +111,6 @@ function phpservice_install_command() { ) ); phpservice_sync_package(); - conf_mount_ro(); -} - - -function phpservice_deinstall_command() { - conf_mount_rw(); - stop_service("phpservice"); - unlink_if_exists("/usr/local/etc/rc.d/phpservice.sh"); - conf_mount_ro(); } ?> -- cgit v1.2.3