1#! /bin/sh 2 3APPS_MOUNTED_PATH=`nvram get apps_mounted_path` 4APPS_INSTALL_FOLDER=`nvram get apps_install_folder` 5APPS_INSTALL_PATH=$APPS_MOUNTED_PATH/$APPS_INSTALL_FOLDER 6 7chmod -R 777 $APPS_INSTALL_PATH 8chmod 777 $APPS_INSTALL_PATH/etc/init.d/S50smartsync 9 10 11cp -rf /opt/etc/apps_asus_script/smartsync_rm /tmp/ 12