| Index: src/platform/cryptohome/cryptohomed.cc
|
| diff --git a/src/platform/cryptohome/cryptohomed.cc b/src/platform/cryptohome/cryptohomed.cc
|
| index e089bb62d8e533ce56f1b84bd6c70874761390be..d72b5d35f805e15eab690be8946350b411e1fb28 100644
|
| --- a/src/platform/cryptohome/cryptohomed.cc
|
| +++ b/src/platform/cryptohome/cryptohomed.cc
|
| @@ -21,12 +21,6 @@
|
|
|
|
|
| namespace switches {
|
| -// Specifies the mount command to call
|
| -static const char *kMountSwitch = "mount";
|
| -// Specifies the unmount command to call
|
| -static const char *kUnmountSwitch = "unmount";
|
| -// Specifies the is_mounted command to call
|
| -static const char *kIsMountedSwitch = "is_mounted";
|
| // Keeps std* open for debugging
|
| static const char *kNoCloseOnDaemonize = "noclose";
|
| } // namespace switches
|
| @@ -47,21 +41,6 @@ int main(int argc, char **argv) {
|
| int noclose = cl->HasSwitch(switches::kNoCloseOnDaemonize);
|
| PLOG_IF(FATAL, daemon(0, noclose) == -1) << "Failed to daemonize";
|
|
|
| - std::string mount_command = cl->GetSwitchValueASCII(switches::kMountSwitch);
|
| - if (!mount_command.empty()) {
|
| - service.set_mount_command(mount_command.c_str());
|
| - }
|
| - std::string unmount_command =
|
| - cl->GetSwitchValueASCII(switches::kUnmountSwitch);
|
| - if (!unmount_command.empty()) {
|
| - service.set_unmount_command(unmount_command.c_str());
|
| - }
|
| - std::string is_mounted_command =
|
| - cl->GetSwitchValueASCII(switches::kIsMountedSwitch);
|
| - if (!is_mounted_command.empty()) {
|
| - service.set_is_mounted_command(is_mounted_command.c_str());
|
| - }
|
| -
|
| LOG_IF(FATAL, !service.Register(chromeos::dbus::GetSystemBusConnection()))
|
| << "Failed";
|
| LOG_IF(FATAL, !service.Run()) << "Failed";
|
|
|