/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/SGI/ |
H A D | startswat.sh | 5 cp /etc/inetd.conf /etc/inetd.conf.O 8 if [ ! -r /etc/inetd.conf.O -o ! -w /etc/inetd.conf ]; then exit 1; fi 10 sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.conf.O > /etc/inetd.conf 11 echo '#SWAT services' >> /etc/inetd.conf 12 echo swat stream tcp nowait root /usr/samba/bin/swat swat >> /etc/inetd.conf 15 # add SWAT service port to /etc/services 17 cp /etc/service [all...] |
H A D | removeswat.sh | 5 cp /etc/inetd.conf /etc/inetd.conf.O 8 if [ ! -r /etc/inetd.conf.O -o ! -w /etc/inetd.conf ]; then exit 1; fi 10 sed -e "/^swat/D" -e "/^#SWAT/D" /etc/inetd.conf.O > /etc/inetd.conf 13 # remove SWAT service port from /etc/services 15 cp /etc/services /etc/services.O 18 if [ ! -r /etc/service [all...] |
H A D | inetd.sh | 5 /etc/killall smbd nmbd 11 cp /etc/inetd.conf /etc/inetd.conf.O 14 if [ ! -r /etc/inetd.conf.O -o ! -w /etc/inetd.conf ]; then exit 1; fi 16 sed -e "/^netbios/D" -e "/^#SAMBA/D" /etc/inetd.conf.O > /etc/inetd.conf 17 echo '#SAMBA services' >> /etc/inetd.conf 18 echo netbios-ssn stream tcp nowait root /usr/samba/bin/smbd smbd >> /etc/inetd.conf 19 echo netbios-ns dgram udp wait root /usr/samba/bin/nmbd nmbd -S >> /etc/inet [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Debian/debian/ |
H A D | samba-common.postrm | 6 # Remove any files left in /etc/samba/ 7 rm -Rf /etc/samba/
|
H A D | samba.cron.daily | 3 # cron script to save a backup copy of /etc/samba/smbpasswd in /var/backups. 12 # Make sure /etc/samba/smbpasswd exists 13 if [ -f /etc/samba/smbpasswd ]; then 14 cmp -s smbpasswd.bak /etc/samba/smbpasswd || cp -p /etc/samba/smbpasswd smbpasswd.bak
|
H A D | samba-common.postinst | 12 if [ ! -e /etc/samba/smb.conf ]; then 13 cp -a /usr/share/samba/smb.conf /etc/samba/ 17 TMPFILE=/etc/samba/smb.conf.dpkg-tmp 40 < /etc/samba/smb.conf >${TMPFILE} 41 mv -f ${TMPFILE} /etc/samba/smb.conf 50 < /etc/samba/smb.conf >${TMPFILE} 51 mv -f ${TMPFILE} /etc/samba/smb.conf 57 ! grep -q dhcp.conf /etc/samba/smb.conf 64 include = /etc/samba/dhcp.conf 65 }" < /etc/samb [all...] |
/asus-wl-520gu-7.0.1.45/src/et/sys/ |
H A D | etc.c | 13 * $Id: etc.c,v 1.1.1.1 2008/10/15 03:25:54 james26_jang Exp $ 26 #include <etc.h> 41 static void etc_loopback(etc_info_t *etc, int on); 58 etc_info_t *etc; local 67 if ((etc = (etc_info_t*) MALLOC(osh, sizeof(etc_info_t))) == NULL) { 72 bzero((char*)etc, sizeof(etc_info_t)); 74 etc->et = et; 75 etc->unit = unit; 76 etc->osh = osh; 77 etc 100 etc_detach(etc_info_t *etc) argument 115 etc_reset(etc_info_t *etc) argument 134 etc_init(etc_info_t *etc) argument 148 etc_up(etc_info_t *etc) argument 157 etc_down(etc_info_t *etc, int reset) argument 177 etc_arl_dump(etc_info_t *etc, char *buff, int maxno) argument 227 etc_ioctl(etc_info_t *etc, int cmd, void *arg) argument 369 etc_watchdog(etc_info_t *etc) argument 448 etc_loopback(etc_info_t *etc, int on) argument 457 etc_promisc(etc_info_t *etc, uint on) argument 466 etc_qos(etc_info_t *etc, uint on) argument 476 etc_totlen(etc_info_t *etc, void *p) argument [all...] |
H A D | et_cfe.c | 39 #include <etc.h> 42 etc_info_t *etc; /* pointer to common os-independent data */ member in struct:et_info 64 ET_TRACE(("et%d: et_init\n", et->etc->unit)); 66 etc_reset(et->etc); 67 etc_init(et->etc); 73 ET_TRACE(("et%d: et_reset\n", et->etc->unit)); 75 etc_reset(et->etc); 82 et->etc->unit, et->etc->speed, (et->etc [all...] |
H A D | etc47xx.c | 41 #include <etc.h> 46 etc_info_t *etc; /* pointer to etc public state */ member in struct:bcm4xxx 69 static void *chipattach(etc_info_t *etc, void *osh, void *regsva); 150 chipattach(etc_info_t *etc, void *osh, void *regsva) argument 159 ET_TRACE(("et%d: chipattach: regsva 0x%x\n", etc->unit, (uint)regsva)); 162 ET_ERROR(("et%d: chipattach: out of memory, malloced %d bytes\n", etc->unit, 168 ch->etc = etc; 169 ch->et = etc 552 etc_info_t *etc; local 758 etc_info_t *etc; local 833 etc_info_t *etc; local 1083 etc_info_t *etc; local 1123 etc_info_t *etc; local [all...] |
H A D | et_linux.c | 60 #include <etc.h> 65 etc_info_t *etc; /* pointer to common os-independent data */ member in struct:et_info 98 /* prototypes called by etc.c */ 107 unsigned int etc_arl_dump(etc_info_t *etc, char *buffer, int maxno); 206 if ((et->etc = etc_attach((void*)et, pdev->vendor, pdev->device, unit, osh, et->regsva)) == 212 bcopy(&et->etc->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); 234 (*et->etc->chops->longname)(et->etc->ch, name, sizeof(name)); 329 if(!et_g || !et_g->etc) return 0; 335 size = etc_arl_dump(et_g->etc, tbuffe 511 etc_info_t *etc; local 581 etc_info_t *etc; local 602 etc_info_t *etc; local 816 etc_info_t *etc; local 878 etc_info_t *etc; local 1036 etc_info_t *etc; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd/scripts/ |
H A D | pon | 7 If pon is invoked without arguments, /etc/ppp/ppp_on_boot file will be 9 will be started using settings from /etc/ppp/peers/provider. 11 settings from the appropriate file in the /etc/ppp/peers/ directory, and 19 if [ -z "$1" -a -x /etc/ppp/ppp_on_boot ]; then 20 exec /etc/ppp/ppp_on_boot 23 if [ -z "$1" -a ! -f /etc/ppp/peers/provider ]; then 25 Please configure /etc/ppp/peers/provider or use a command line argument to 26 use another file in /etc/ppp/peers/ directory. 31 if [ "$1" -a ! -f "/etc/ppp/peers/$1" ]; then 33 The file /etc/pp [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/scripts/ |
H A D | pon | 7 If pon is invoked without arguments, /etc/ppp/ppp_on_boot file will be 9 will be started using settings from /etc/ppp/peers/provider. 11 settings from the appropriate file in the /etc/ppp/peers/ directory, and 19 if [ -z "$1" -a -x /etc/ppp/ppp_on_boot ]; then 20 exec /etc/ppp/ppp_on_boot 23 if [ -z "$1" -a ! -f /etc/ppp/peers/provider ]; then 25 Please configure /etc/ppp/peers/provider or use a command line argument to 26 use another file in /etc/ppp/peers/ directory. 31 if [ "$1" -a ! -f "/etc/ppp/peers/$1" ]; then 33 The file /etc/pp [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/printer-accounting/ |
H A D | acct-all | 8 /etc/conf/acct-sum /var/log/lp/*
|
/asus-wl-520gu-7.0.1.45/src/router/misc/ |
H A D | rootprep.sh | 26 # etc 27 mkdir -p etc 28 echo "/lib" > etc/ld.so.conf 29 echo "/usr/lib" >> etc/ld.so.conf
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/ |
H A D | init.linux.sh | 14 # config: /etc/printcap 17 if [ -f /etc/rc.d/init.d/functions ] ; then 18 . /etc/rc.d/init.d/functions 22 if [ -f /etc/sysconfig/network ] ; then 23 . /etc/sysconfig/network 29 [ -f /etc/printcap ] || exit 0 42 if [ -f /etc/redhat-release ] ; then 55 if [ -f /etc/redhat-release ] ; then 66 if [ -f /etc/redhat-release ] ; then
|
H A D | MIT_configure | 3 #./configure --prefix=/usr --sysconfdir=/etc \ 5 ./configure --prefix=/usr --sysconfdir=/etc \
|
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Fedora/ |
H A D | winbind.init | 7 # config: /etc/samba/smb.conf 11 if [ -f /etc/init.d/functions ] ; then 12 . /etc/init.d/functions 13 elif [ -f /etc/rc.d/init.d/functions ] ; then 14 . /etc/rc.d/init.d/functions 23 . /etc/sysconfig/network 25 if [ -f /etc/sysconfig/samba ]; then 26 . /etc/sysconfig/samba 33 [ -f /etc/samba/smb.conf ] || exit 0
|
H A D | smb.init | 9 # config: /etc/samba/smb.conf 13 if [ -f /etc/init.d/functions ] ; then 14 . /etc/init.d/functions 15 elif [ -f /etc/rc.d/init.d/functions ] ; then 16 . /etc/rc.d/init.d/functions 25 . /etc/sysconfig/network 27 if [ -f /etc/sysconfig/samba ]; then 28 . /etc/sysconfig/samba 35 [ -f /etc/samba/smb.conf ] || exit 0 38 [ -w /etc/samb [all...] |
/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/ |
H A D | adsl-setup.in | 23 CONFIG=/etc/ppp/pppoe.conf 173 echo "access to all standard servers like Web, e-mail, ftp, etc. If you" 278 echo "Adjusting /etc/resolv.conf" 279 grep -s "MADE-BY-RP-PPPOE" /etc/resolv.conf > /dev/null 2>&1 281 echo " (But first backing it up to /etc/resolv.conf-bak)" 282 copy /etc/resolv.conf /etc/resolv.conf-bak 284 echo "# MADE-BY-RP-PPPOE" > /etc/resolv.conf 285 echo "nameserver $DNS1" >> /etc/resolv.conf 287 echo "nameserver $DNS2" >> /etc/resol [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/pcp/ |
H A D | Install | 37 . /etc/pcp.env
|
H A D | Remove | 37 . /etc/pcp.env
|
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/LSB/ |
H A D | lsb-samba.spec | 32 ./configure --with-fhs --prefix=/usr --sysconfdir=/etc \ 34 --with-configdir=/etc/samba \ 49 CONFIGDIR=$RPM_BUILD_ROOT/etc/samba \ 60 mkdir -p $RPM_BUILD_ROOT/etc/init.d 61 install -m 700 packaging/LSB/samba.sh /etc/init.d/samba 63 mkdir -p $RPM_BUILD_ROOT/etc/samba 64 install -m 644 packaging/LSB/smb.conf /etc/samba 66 mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d 67 install -m 644 packaging/LSB/samba.xinetd /etc/xinetd.d/samba 70 /usr/lib/lsb/install_initd /etc/ini [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Example/ |
H A D | setup.sh | 8 echo 'swat 901/tcp' >> /etc/services 9 uniq /etc/services /tmp/tempserv 10 cp /tmp/tempserv /etc/services 12 echo 'swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat' >> /etc/inetd.conf 13 uniq /etc/inetd.conf /tmp/tempinetd 14 cp /tmp/tempinetd /etc/inetd.conf
|
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Mandrake/ |
H A D | winbind.init | 8 if [ -f /etc/init.d/functions ] ; then 9 . /etc/init.d/functions 10 elif [ -f /etc/rc.d/init.d/functions ] ; then 11 . /etc/rc.d/init.d/functions 17 . /etc/sysconfig/network 23 [ -f /etc/samba/smb.conf ] || exit 0 31 if [ "`grep -i -E '(idmap|winbind) uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i -E '(idmap|winbind) gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then 35 echo "Winbind is not configured in /etc/samba/smb.conf, not starting" 45 if [ "`grep -i 'winbind uid' /etc/samb [all...] |
H A D | wrepld.init | 8 if [ -f /etc/init.d/functions ] ; then 9 . /etc/init.d/functions 10 elif [ -f /etc/rc.d/init.d/functions ] ; then 11 . /etc/rc.d/init.d/functions 17 . /etc/sysconfig/network 23 [ -f /etc/samba/smb.conf ] || exit 0 31 if [ "`grep -i 'wins partners' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then 35 echo "WINS replication is not configured in /etc/samba/smb.conf, not starting" 45 if [ "`grep -i 'wins partners' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then
|