@@ -0,0 +1,1165 @@
+#%0A# Copyright (c) SAS Institute Inc.%0A#%0A# Licensed under the Apache License, Version 2.0 (the %22License%22);%0A# you may not use this file except in compliance with the License.%0A# You may obtain a copy of the License at%0A#%0A#     http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS,%0A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A# implied.%0A# See the License for the specific language governing permissions and%0A# limitations under the License.%0A#%0Afrom amiconfig.lib import daemon%0A%0A%0Aclass MountDaemon(daemon.Daemon):%0A    %22%22%22%0A    Attempt to mount a device in the background%0A    %22%22%22%0A    def __init__(self, device, mount_point, wait_time):%0A        self.device = device%0A        self.mount_point = mount_point%0A        self.wait_time = wait_time%0A%0A    def start(self):%0A        count = 0%0A        while count %3C self.wait_time:%0A            if not os.path.exists(self.device):%0A                time.sleep(60)%0A            else:%0A                break%0A            count += 1%0A        subprocess.call(%5B%22mount%22, self.device, self.mount_point%5D)%0A

Add missing library for daemonization