This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# PROVIDE: iscsi-zfs | |
# REQUIRE: iscsid iscsictl mountcritlocal var | |
. /etc/rc.subr | |
name="iscsi_zfs" | |
start_cmd="iscsi_zfs_start" | |
stop_cmd="iscsi_zfs_stop" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Windows Search | |
sc config WSearch start=disabled | |
REM SSDP Discovery | |
sc config SSDPSRV start=disabled | |
REM Geolocation Service | |
sc config lfsvc start=disabled | |
REM ActiveX Installer | |
sc config AXInstSV start=disabled | |
REM AllJoyn Router Service | |
sc config AJRouter start=disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python2.7 | |
import os | |
import subprocess | |
import sys | |
import time | |
path = '/glusterfs/test.dat' | |
addresses = [ '10.0.0.1', '10.0.0.2', '10.0.0.127' ] |