diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 09:48:10 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 09:48:10 +0200 |
commit | a12de5b5a71549a7c978b9f1f11ca354a631884b (patch) | |
tree | c4c769796b7109dd1d33b971dda3a7c8b3b6b5b4 /config/phpservice | |
parent | 839d97cc8f7ff1ac86bc1b951db2c106fadf6535 (diff) | |
download | pfsense-packages-a12de5b5a71549a7c978b9f1f11ca354a631884b.tar.gz pfsense-packages-a12de5b5a71549a7c978b9f1f11ca354a631884b.tar.bz2 pfsense-packages-a12de5b5a71549a7c978b9f1f11ca354a631884b.zip |
Remove useless remount calls and phpservice_deinstall_command()
All of these are dealt with by uninstall_package() and from pkg-utils.inc.
Diffstat (limited to 'config/phpservice')
-rw-r--r-- | config/phpservice/phpservice.inc | 10 |
1 files changed, 0 insertions, 10 deletions
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(); } ?> |