11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


[시놀리지] 부팅시 자동 실행 스크립트 경로(자료 펌)

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    자료 펌)

    \r\n

    http://m.assayo.com/board_view.html?board=forum_nas&pid=11287

    \r\n

     

    \r\n

    리눅스에서 흔히들 /etc/rc.local 을 만들어서 사용하시죠?

    시놀리지에서 위의 경로로 사용해 보니 동작하지 않아서 검색해 보았더니

    /usr/syno/etc/rc.d 에 원하는 스크립트를 S99파일.sh 를 넣고
    chmod 700 S99파일명.sh 을 해주면 리부팅시마다 처리된다고 합니다.

    이거 설정을 몇달째 안해놔서 가끔 부팅할때마다 /root 에 넣어둔 스크립트를 실행하고 있었네요

    아래 출처의 내용도 옮겨두었는데 저 같은 경우는 다른 폴더는 안되고 /usr/syno/etc/rc.d/S99파일명.sh 이것만 되더라구요

    ----------------------------------------------
    http://forum.synology.com/enu/viewtopic.php?f=77&t=51025

    On startup post-edit, scripts run in this order:
    1. /usr/local/etc/rc.d/S[00->99]scriptname.sh start
    These are all of the Synology Scripts.

    2. /etc/rc.optware start (executed by rc.local)
    This script mounts your /opt with your /volume1/@optware

    3. /usr/local/etc/rc.d/optware.sh start (executed by unknown syno script)
    This now rechecks your mounts on startup, and executes /opt/etc/rc.optware start.

    4. /opt/etc/rc.optware start (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/S[00->99]scriptname.sh start

    5. /opt/etc/init.d/S[00->99]scriptname.sh start (executed by /opt/etc/rc.optware)
    This is where optware packages will install their startup scripts. This is the correct place.

    On shutdown, scripts run in this order:
    1. /usr/local/etc/rc.d/optware.sh stop (executed by unknown syno script)
    This script does some logging on umount, then executes /opt/etc/rc.optware stop.

    2. /opt/etc/rc.optware stop (executed by /usr/local/etc/rc.d/optware.sh)
    This executes a /opt/etc/init.d/K[00->99]scriptname.sh stop

    3. /opt/etc/init.d/K[00->99]scriptname.sh stop (executed by /opt/etc/rc.optware)
    This is where optware packages will install their shutdown scripts.

    4. /usr/syno/etc/rc.d/S[00->99]scriptname.sh stop 
    These are all of the Synology Scripts. 

    \r\n

     

    ♠ shimss home 는 컴퓨터자료 windows10, server 2012 2016 r2 xpenology WinPE 헤/시놀로지 NAS 그누보드 아미나,APMS 모바일 pc 홈페이지 일상생활 을 위하여 정보를 찾아 공유 합니다.♠ 출처는 링크 참조 바랍니다.♠ https://11q.kr.com https://11q.kr https://11q.kr http://33.iptime.org
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 62 Page
    [ u5pvr) linux 펌웨어 20171205 업데이트후 초기화 설정 진행 ] 댓글 1

    u5pvr)linux 펌웨어 업데이트후 초기화 설정 진행사용버전http://cafe.naver.com/mk802/24277- 조건 : linux…

    [ FAT32 간단하게 PartitionGuru_portable 이용 microsd USB FORMAT / 포멧… ] 댓글 1

    FAT32 간단하게 PartitionGuru_portable 이용 microsd USB FORMAT / 포멧 하기단일 파일 로 사용이 편리 합니…

    [ 참조)스마트에디터 모바일에서 사용하기 ]

    적용법]4.3버전까지 패치하신후에사이트/config.php 파일에서define('G5_IS_MOBILE_DHTML_USE', false);를 찾…

    [ ■ ★ u5pvr)tvheadend 의 epg 의 xmltv.xml 를 자동 스케줄러 만들어 사전에 정기적으… ] 댓글 56

    ■u5pvr)tvheadend 의 epg 의 xmltv.xml 를 자동 스케줄러 만들어 사전에 정기적으로 만들어 놓고 tvheadend epg그…

    [ TVHEADEND NZ 라디오 IPTV 설정 ]

    아래내용은 참조만하시고링크내용으로https://11q.kr/g5s/bbs/board.php?bo_table=s11&wr_id=5398참조…

    [ 안드로이드 스튜디오 설치 에뮬레이터 설치 하기 ] 댓글 2

    android-studio install안드로이드 스튜디오 설치 에뮬레이터 설치 하기2가지 를 설치합니다1.Java SE Development …

    [ 실패_작업중)해놀로지 CPU 절전기능 활성화 하기. ] 댓글 1

    해놀로지 CPU 절전기능 활성화 하기.http://hobby.tw/492?category=223098참조 작업 합니다파일 다운로드 : S99Po…

    [ Android Emulator에서 앱 실행 ] 댓글 2

    Android Emulator에서 앱 실행Android Emulator는 기기를 시뮬레이션하여 이를 개발용 컴퓨터에 표시합니다. 이 에뮬레이터를…

    [ VMware Workstation 공유디스크 설정 ]

    ◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    [ 작업)Ubuntu 18.04에 LAMP ( Apache2, MySQL , PHP 7) 설치하는 방법2_apt… ]

    3. PHP 설치대부분의 웹서버는 PHP 같은 서버 사이드 스크립트 언어(Server-side scripting)를 지원합니다.단순한 HTML …

    [ u5pvr 화면 먹통 관련 테스트 결과 발열문제는 아니것 확인및 수리방법 문의 ]

    u5pvr 화면 먹통 관련 테스트 결과 발열문제는 아니것 확인및 수리방법 문의오늘은 화면이 먹통이 되어 문의 드립니다제품 : u5pvr pvr문…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-20 12:09:31

    오늘의 홈 현황


    • 현재 접속자♨ 355(1) 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 1 명
    • 주간 가입자※ 9 명
    • 오늘 방문자 1,079 명
    • 어제 방문자 1,658 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,444,091 명
    • 전체 게시물※ 8,711 개
    • 전체 댓글수※ 24,891 개
    • 전체 회원수 11,122 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑