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 / 74 Page
    [ Tvheadend 전자프로그램가이드 epg그래버모듈 web 구동 wget 다운로드하여 cat으로 불러오… ]

    Tvheadend 전자프로그램가이드 epg그래버모듈 web 구동 wget 다운로드하여 cat으로 불러오기왜) xmltv 만드는동안 안정되게 단계…

    [ 서버에 아파치 설치 후 php소스가 그대로 보일때.. ]

    서버에 아파치 설치 후 php소스가 그대로 보일때..최고관리자 서버 07,3712012.02.23 21:38먼저 확인해볼 사항들이 있다.*확장자…

    [ xbox one x 의 종료를 절전모드 설정 및 power off 의 소비 전력 ]

    xbox one x 의 종료를 절전모드 설정 및 power off 의 소비 전력전원 끄기 방법은 전원 종료 x전원키 길게 누르면 본체 끄기가 있…

    [ MiBox3-EddyLab에디션 셋탑 Recovery 로 부팅 하기 성공 ] 댓글 1

    MiBox3-EddyLab에디션 셋탑 Recovery 로 부팅 하기카페홈에서 scrcpy 파일 다운로드 디랙토리 작성 복사 합니다https://…

    [ Termux 팁)adb_scrcpy 화면 미러링 이용으로 termux를 pc에서 화면 미러링으로 pc 키보드… ] 댓글 6

    Termux 팁)adb_scrcpy 화면 미러링 이용으로 termux를 pc에서 화면 미러링으로 pc 키보드 직접 명령어 타이핑 설치/설정하기 …

    [ 시놀로지 dos2unix 설치는 opkg 로 설치 합니다 ] 댓글 1

    윈도우에서 에디터 하고 복사사용 할때dos모드로 저장되어 ^m 이 보이지 않는 글자가 있어unix 형식으로 변경해야 한다이때 사용하는 범용 do…

    [ nanorc를 사용하여 Nano 텍스트 편집기 구성 ] 댓글 1

    nanorc를 사용하여 Nano 텍스트 편집기 구성https://linuxhint.com/configure_nano_text_editor_nan…

    [ Coreelec 의 IPTV m3u 채널 시청을 위한 TVheadend 서버 설치 설정 값 저장 ]

    Coreelec 의 TVheadend 서버 설치 설정 값 저장설정값을 저장 보관 합니다Coreelec addon 에서 설정 조건1) Tvhead…

    [ tvheadnd epg그래버 모듈 상태 보임/안보임 설정 저장 ] 댓글 1

    tvheadnd epg그래버 모듈 상태 보임/안보임설정 할때마다 안되는 설정 조건을 아래와 같이 재설정 합니다superuse 설정 아이디 암호 …


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-08-25 15:24:33

    오늘의 홈 현황


    • 현재 접속자♨ 301 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 1 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 1,503 명
    • 어제 방문자 1,843 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,515,496 명
    • 전체 게시물※ 8,757 개
    • 전체 댓글수※ 25,016 개
    • 전체 회원수 11,192 명

    QR코드


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

    알림 0








    최신글↑