From bde0ce318eafa8de5e4f146bb104af78527c639e Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 09:51:03 +0200 Subject: Remove useless remount calls These are dealt with by install_package() and uninstall_package() from pkg-utils.inc. --- config/routed/routed.inc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'config/routed/routed.inc') diff --git a/config/routed/routed.inc b/config/routed/routed.inc index 471c2772..3bcef0aa 100644 --- a/config/routed/routed.inc +++ b/config/routed/routed.inc @@ -105,21 +105,17 @@ function setup_etc_gateways($iface="", $mode="") { } function routed_install_command() { - conf_mount_rw(); write_rcfile(array( "file" => "routed.sh", "start" => "/usr/bin/nohup /sbin/routed > /dev/null 2>&1 &", "stop" => "/bin/pkill routed" ) ); - conf_mount_ro(); } function routed_deinstall_command() { stop_service("routed"); - conf_mount_rw(); unlink_if_exists("/usr/local/etc/rc.d/routed.sh"); - conf_mount_ro(); } ?> -- cgit v1.2.3